Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nihadguluzade/oauth2-reddit
Spring Boot implementation template to access the Reddit private APIs.
https://github.com/nihadguluzade/oauth2-reddit
java oauth2 reddit-api spring-boot spring-security spring-security-oauth2
Last synced: 6 days ago
JSON representation
Spring Boot implementation template to access the Reddit private APIs.
- Host: GitHub
- URL: https://github.com/nihadguluzade/oauth2-reddit
- Owner: nihadguluzade
- Created: 2020-10-14T19:54:28.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-10-15T07:10:15.000Z (about 4 years ago)
- Last Synced: 2023-11-10T18:41:14.060Z (about 1 year ago)
- Topics: java, oauth2, reddit-api, spring-boot, spring-security, spring-security-oauth2
- Language: Java
- Homepage:
- Size: 122 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Reddit OAuth2 implementation using Spring Boot
OAuth2 support allows to use reddit to authenticate on non-reddit websites and applications.
As Reddit requires the *User-Agent* header to access the private APIs, it is necessary to write custom Token and UserInfo requests. This template uses the **Code** flow to allow the user to authenticate to the application.
To use this implementation you have to specify your *client_id*, *client_secret*, and *user-agent* (otherwise, error 429).
For more info see [wiki](https://github.com/reddit-archive/reddit/wiki/OAuth2).