Last active
January 24, 2021 15:51
-
-
Save rj93/d055efe6b277daf2942f1bf75e021286 to your computer and use it in GitHub Desktop.
Spring Boot Configuration for Reddit OAuth 2.0
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
spring: | |
security: | |
oauth2: | |
client: | |
registration: | |
reddit: | |
clientId: redditIssuedId | |
clientSecret: redditIssuedSecret | |
redirectUri: http://localhost:8080/login/oauth2/code/reddit | |
scope: | |
- identity | |
authorizationGrantType: authorization_code | |
provider: | |
reddit: | |
authorizationUri: https://www.reddit.com/api/v1/authorize | |
tokenUri: https://www.reddit.com/api/v1/access_token | |
userInfoUri: https://oauth.reddit.com/api/v1/me | |
userNameAttribute: name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment