Created
February 4, 2021 04:35
-
-
Save abadongutierrez/1b55f3fd87ab8e8f88e5a0fd59ee950f to your computer and use it in GitHub Desktop.
Micronaut Tutorial - Login with Microsoft - application.yml final look
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
micronaut: | |
application: | |
name: <your-application-name> | |
security: | |
authentication: cookie | |
token: | |
jwt: | |
signatures: | |
secret: | |
generator: | |
secret: 'pleaseChangeThisSecretForANewOne' | |
jws-algorithm: 'HS256' | |
oauth2: | |
clients: | |
microsoft: | |
client-id: <your-client-id> | |
client-secret: <your-client-secret> | |
scopes: | |
- User.Read | |
authorization: | |
url: 'https://login.microsoftonline.com/consumers/oauth2/v2.0/authorize' | |
token: | |
url: 'https://login.microsoftonline.com/consumers/oauth2/v2.0/token' | |
auth-method: client-secret-post | |
endpoints: | |
logout: | |
get-allowed: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment