This repository has been archived by the owner on Jul 25, 2024. It is now read-only.
Using this JWT Addon with Bouncer #14
einDeveloper
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello friends,
today I played a bit with Bouncer. I want to store an "accessLevel" (like a role) in the token to validate if a user has access to special routes. In fact that Bouncer uses the basic-auth to validate the user data, is there another way to validate it like I want?
My plan is to check (before the request is completed) if the user has access to this. For that I use the saved "accessLevel" in the token.
Hopefully you understand what I mean. I would be happy if you have any solution for my "problem"
Beta Was this translation helpful? Give feedback.
All reactions