Azure-Samples / Azure-Samples/ms-identity-msal-java-samples
groups are reset
- Lenguaje dominante
- Java
- Estrellas
- 79
- Forks
- 82
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- java
- Área
- authentication, authorization
- Tipo de issue
- Error
- Dificultad
- 1/5
- Tiempo estimado
- Menos de una hora
- Estado de actividad
- Estancado
- Claridad
- Bien especificado
- Aptitud para principiantes
- 48/100