-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
help request: cannot restrict roles to access apisix routes with keycloak. #10319
Comments
This plugin seems to offer more capabilities with authorization: https://apisix.apache.org/docs/apisix/plugins/authz-keycloak/ |
I had seen this plugin too. But I don't know how to configure. |
@sy-yan have you solved your problem? |
I'm using keycloak v18.x.x so it's hard to tell what goes on in v6.0. Are you positive policy isn't supported? Could you show us your keycloak v6.0 interface? |
@sy-yan Hi - following up to see if this issue is still active? From my understanding, you would enable Authorization for the client and configure role and policy (for RBAC) to a resource. I tested with keycloak v18 and used Unfortunately cannot advise on keycloak 6.0 |
As for Alternative to role-based access control, you could implement scope-based access control with |
Due to lack of the reporter's response this issue has been labeled with "no response". It will be close in 3 days if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the [email protected] list. Thank you for your contributions. |
This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time. |
Description
I want to allow user who has Designated keycloak role to access apisix-dashboard.
And I have read a blog
https://apisix.apache.org/blog/2023/01/02/accessing_apisix-dashboard_from_everywhere_with_keycloak_authentication/
as guide.
But it seems that the "openid-connect" just allow all keycloak users without restricting roles.
So I wonder if apisix has a way to resolve.
keycloak 15 might allow rolePolicy, but my keycloak server is in version 6.0.
Environment
apisix version
):3.2.0The text was updated successfully, but these errors were encountered: