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

groups are reset

Open
#67 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
79
Forks
82
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.