You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My main issue is that I have to set every role that a given protected resource allows by using "roles_key" and "roles" keys:
roles_key: When passing roles, the key name inside the JWT payload specifying the role of the user.
roles: list. When set, the JWT token not having at least one of the listed roles are rejected.
Is there any way to set this roles dynamically by using a properties file or an external configuration file? I'm asking this because it would give the opportunity to change access policies using an UI or any given service.
Thanks in advance.
The text was updated successfully, but these errors were encountered:
This issue was marked as resolved a long time ago and now has been automatically locked as there has not been any recent activity after it. You can still open a new issue and reference this link.
Hi everyone,
I'm following KrakenD documentation in order to implement a working example of forcing requests to provide a token issued by a third party.
https://www.krakend.io/docs/authorization/jwt-validation/
My main issue is that I have to set every role that a given protected resource allows by using "roles_key" and "roles" keys:
Is there any way to set this roles dynamically by using a properties file or an external configuration file? I'm asking this because it would give the opportunity to change access policies using an UI or any given service.
Thanks in advance.
The text was updated successfully, but these errors were encountered: