Azure-Samples / Azure-Samples/ms-identity-msal-java-samples

groups are reset

オープン
#67 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
79
フォーク
82
PR マージ指標
30日以内にマージされた PR はありません

説明

Hi,

I found this line to reset the previously assigned groups of the user.
Just change it to this.roles= new ArrayList(); and it should be working as expected again.

https://github.com/Azure-Samples/ms-identity-msal-java-samples/blob/32f2740e43b88d9251d265f81c2d9e9d5b83ca45/3-java-servlet-web-app/1-Authentication/sign-in/src/main/java/com/microsoft/azuresamples/msal4j/helpers/IdentityContextData.java#L140

Best regards,
Jan

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Start in 3-java-servlet-web-app/1-Authentication/sign-in/src/main/java/com/microsoft/azuresamples/msal4j/helpers/IdentityContextData.java at line 140, where the issue identifies the group reset. Inspect how the roles list is initialized and verify in the sign-in sample that previously assigned groups are retained after the change.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java
領域
authentication, authorization
issue の種類
バグ
難易度
1/5
見積もり時間
1時間未満
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
48/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。