I am trying to integrate apiman in my project. I am able to do following things with simple java program ( REST api ),
- Create user for keycloak realm
- Assign role for user.
- Able to login in apiman with those credentials.
Things I am not being able to do ,
- Authenticate user with rest api like keycloak does it from UI ( like the following image )
- Generate session details and then generate URL for that realm and redirect to that project.
- Not able able to directly login into the apiman system.
Basically I want to bypass keycloak login system with REST API using java.
I want to directly go into this screen. I am not able to find any way by which I can generate or authenticate user in keycloak and generate url for the below screen ( apiman ) and then redirect the user on the below screen using that URL.




