keycloak Identity broker for Custom Authentication
by Raghu Prabhala
Hi,
I am wondering if anyone implemented an Identity Broker for custom authentication? If so, would appreciate some input on how to achieve that?
I tried implementing one using the existing OIDC broker as the starting point but the option to select this custom broker doesn't appear in the GUI. So my question is, what changes must be made in the GUI to make the custom broker visible? Appreciate any pointers
Thanks,Raghu
9 years, 6 months
Cancel button handling on keycloak login page
by Roman Usatenko
Hello,
I am trying to implement POC with keycloak as auth* server.
Here is my set up / use case:
- Tomcat server with keycloak adapter
- Web app with a URL *http://x.y/app/secure <http://x.y/app/secure>*
protected by a security constraint.
- An unauthenticated user goes to the URL and gets redirected by the
adapter to the keycloak login page.
- The user clicks Cancel button and gets redirected back to the URL with
parameters ?error=access_denied&state=1%2Fxxxx
- This redirect is intercepted by the adapter and user's browser gets
400 error from the adapter. My application never receives the request.
So my questions are:
1. Is this correct description of what's going on or am I missing something?
2. If this is the behavior by design wouldn't it be better instead of the
400 error to redirect user to some themed page on the keycloak server with
a nice explanation, like "We're sorry, but you cannot access this resource
without authentication, blablabla "
Thank you,
Roman Usatenko.
9 years, 6 months