M
M
Mihis2019-09-26 19:55:56
Java
Mihis, 2019-09-26 19:55:56

How to implement OAuth2 server on your web server?

There is a web server written in Java with the ability to authorize, you need to add to it the ability to authorize other sites without using additional ports and web servers.
I would like to have a library that accepts a query constructor for input.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Cheremisin, 2019-09-27
@leahch

There are several libraries ranging from apache shiro to scribejava. You can announce the entire list - https://oauth.net/code/java/
And how to attach a specific lib to your application - I won’t say, you need to look at the code. But I recommend scribejava or Apache Shiro . the latter is more complicated, as it works through Pac4j

I
Ivan Shumov, 2019-11-20
@inoise

we take any Identity Server (for example, Keycloak), or SaaS (Auth0) and transfer the existing users of the system there. Then we set up other types of logins and integrate them into the new version using OpenId + JWT, for example. PROFIT

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question