Current situation
We are builing a REST API that currently uses a Shiro realm to authenticate a user against the DB.
The application is running as a Springboot web application
What we'd like to achieve:
We want to move authentication out of our web application and into an authentication server e.g. Wso2
We'd like to use Oauth2 as the interface to the authentication server.
What are the dependencies?
Add the dependencies (gradle)
'org.pac4j:pac4j-core:1.7.1'
'org.pac4j:pac4j-oauth:1.7.1'
We want the token to be passed to the REST client e.g. Angular/JS
How do I configure the Realm
We're not using shiro.ini but rather using spring java configuration.
Any tips on how to set this up would be much apprecited!