avalon
avalon

Reputation: 2291

OpenID and Oauth2 server on Java

Where can I get a tutorial or instruction how to implement my own OpenID and Oauth2 servers for authorizing my microservice? I use java app and microservice I want to put authorization to. Where can I get an example of this auth server and may be there existing ones in the internet?

Upvotes: 0

Views: 2009

Answers (3)

Takahiko Kawasaki
Takahiko Kawasaki

Reputation: 19011

You can find some at "Libraries, Products, and Tools" page in the website of OpenID Connect. Of course, there are many other implementations which are not listed there and java-oauth-server is one of such examples.

If you are going to implement your own OAuth 2.0 & OpenID Connect server, you will be able to find some insights in this article "Full-Scratch Implementor of OAuth and OpenID Connect Talks About Findings". Especially, be careful when you write code for Redirect URI. Otherwise, security risks of your server would be increased.

Upvotes: 0

ingenious
ingenious

Reputation: 966

I would recommend taking a glance at MitreID-Connect project over at github. The project claims to be the reference implementation of OpenID Connect and OAuth 2.0 and the guy behind it is active in the specification working groups.

Upvotes: 0

chrisl08
chrisl08

Reputation: 1658

Please check http://www.keycloak.org This is an open source authentication server by Red Hat. Tons of documentation, start from here:http://www.keycloak.org/documentation.html

Upvotes: 2

Related Questions