Home
Softono

Sso Auth

Open source Java
103
Stars
57
Forks
3
Issues
15
Watchers
2 years
Last Commit

 About Sso Auth

Single Sign On Authentication Server with Spring OAuth2 and MongoDB

Platforms

Web Self-hosted

Languages

Java

Need Help Installing Sso Auth?

We provide expert installation service for this software. Our team will install, configure, and secure Sso Auth on your server. plans start at just $30.

Build Status

sso-auth

From Using Spring Security OAuth 2.0 and MongoDB For Single Sign Authentication Server I explained how I chose OAuth 2.0 and MongoDB to build a Single Sign On Auth server that can be used in a microservice architecture.

1. First step. Run sso-auth-client application. And try accessing http://localhost:8081/hello. Without passing any headers it returns this

No Security Token

2. Second step. Run sso-auth-server. Lets use the password grant_type to get an access token. http://localhost:8080/oauth/token?grant_type=password&[email protected]&password=cant_hack_this&client_id=sso-auth-client&client_secret=mySecret

Get Access Token

3. Final step. Lets access http://localhost:8081/hello with our access token. And we are in.

Security Token.