Configuration | Required | Description |
---|
spring.security.oauth2.csrf.enabled
| | should be false |
spring.security.oauth2.client.provider.azure.issuer-uri
| | Usually https://login.microsoftonline.com/<tenant>/v2.0 |
spring.security.oauth2.client.provider.azure.user-name-attribute
| | Defines where in the token the username can be found, usually name |
spring.security.oauth2.client.registration.azure-login.provider
| | The provider that should be used. Should be azure |
spring.security.oauth2.client.registration.azure-login.client-id
| | The public identification of the application, the ClientId |
spring.security.oauth2.client.registration.azure-login.client-secret
| | The client secret for the application |
spring.security.oauth2.client.registration.azure-login.scope[0]
| | fixed value openid |
spring.security.oauth2.client.registration.azure-login.scope[1]
| | fixed value email |
spring.security.oauth2.client.registration.azure-login.scope[2]
| | fixed value profile |