This is a spring boot application with MongoDB database which demonstrates email and password based login connecting to authorize using the OAuth 2.0 authentication standard as well as add social login to your spring boot application using the new OAuth2 functionalities provided in Spring Security.
- OAuth2 Integration: Secure authentication using OAuth2 with support for Google and Facebook.
- MongoDB Persistence: Store user and client details in a MongoDB database.
- Spring Cloud Support: Enables service discovery and configuration management with Spring Cloud Config.
Make sure you have the following installed:
- Java 8
- Maven
- MongoDB
- (Optional) Spring Cloud Config Server
Update the application configuration in application.yml
and bootstrap.yml
with your specific settings, including MongoDB details and OAuth2 client credentials.
This project is licensed under the MIT License - see the LICENSE file for details.