Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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).