Closed gnulib closed 8 years ago
This is not going to be a rest client, because actual authentication has to be done by the user's browser, outside the scope of the client application.
Hence, this library would need to be a service bean with http listener/handler method for IDP service response redirection. Flow would be something like this:
provide a rest client to if-idp service for getting openid connect id token, along with user approval for profile access and any other scopes/events needed by the client app. Client library should also populate the spring security context with authentication details, so that rest of the security framework can work seamlessly.