Closed legitimoth closed 2 years ago
Hi @tharbts
We don't currently support Role guards. The only guards we support be found from https://github.com/anonrig/nestjs-keycloak-admin/tree/master/src/guards
If you'd like to implement Role guards, you can always open a pull request!
@tharbts it's been implemented in the latest release.
I would like to know what is the annotation for Roles like we have in nest-keycloak-connect. Ex: @ Roles({ roles: ['admin'], mode: RoleMatchingMode.ANY })