I am trying to integrate Keycloak, RestEasy and Swagger. I got most of the stuff to work
with the exception of a redirect URL problem.
The scenario is if I am not yet authorized to a Restful service, then in Swagger, I can
click on their authorize button and that is supposed to bring me to the Keycloak login
screen. I am basically doing what is described in this article if that helps:
http://developers-blog.helloreverb.com/enabling-oauth-with-swagger/
The problem I am facing is: It seems for Keycloak redirect to work, there is a state
parameter. For example, this works:
http://localhost:8080/auth/realms/DSG_API/tokens/login?client_id=dsgapi&a...
How do I programmatically get this state parameter?
Christina