-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
User without restricted-access role is being able to authenticate. #224
Comments
@KhasDenis If I see it correctly, you have mixed required and alternative flows on the same level which is not supported by Keycloak. |
Can you show me the roles that you have configured for the client to which you set the authentication flow override, please? |
That looks ok. Can you export the full realm configuration and post the file here? I think that I need to see all the details to investigate this further. |
If in "Copy of browser" flow I add explicit "Deny Access" right before "Restrict user authentication on client" I'm still able to authenticate. If I move "Deny Access" as a first step then I'm not able to authenticate. Also as another test I created the same flow but with my js authenticator the same story. So problem seems to be somewhere in the flow itself, but I don't see anything in the logs. |
So it is basically this issue keycloak/keycloak#10250 |
Have you checked your post login flow? See remark here: https://github.com/sventorben/keycloak-restrict-client-auth?tab=readme-ov-file#protect-all-possible-flows |
Closing this issue, because this behaviour is caused by Keycloak itself and not by this extension. |
Is there an existing issue for this?
Current Behavior
User without restricted-access role is still being able to authenticate. Role itself created both in realm and client (In both cases there is 0 assignments). My current configuration is similar to this one https://user-images.githubusercontent.com/12183470/136276665-6b087651-baa9-43aa-addf-59db247529b7.png
Expected Behavior
User without restricted-access role is not being able to authenticate.
Steps To Reproduce
No response
Version
Anything else?
No response
The text was updated successfully, but these errors were encountered: