Hi Ron, thx for quick responses. Keycloak is using OAuth bearer token. In HTTP call, this is how it looks like:
httprequest.setHeader("Authorization", "Bearer " + getAccessToken());
Unfortunately, I am not quite sure how to set up the Swagger auth spec in Java.
Can you send a pointer please?
Here is my appl running on EC2:
http://ec2-54-84-240-18.compute-1.amazonaws.com:8080/dsgapi/
Click on item 3, Try it out. Then you will see Swagger.
Now say click on Get blueprints, and you will see Keycloak login buried underneath.
Now if you enter this URL:
http://ec2-54-84-240-18.compute-1.amazonaws.com:8080/dsgapi/blueprints/
You will see the Keycloak login challenge screen.
I noticed in your petstore sample you have your own login. I don't know if this is what you get after you set up the Swagger spec or not.
But I will like to have my Keycloak login screen instead. Is that possible? If yes, how should I implement it?
Thanks for your help!
Christina