How to get users' permission in React? #378
Unanswered
cesarsmaniottospotlar
asked this question in
Q&A
Replies: 2 comments 5 replies
-
Hail, @cesarsmaniottospotlar 👋 Welcome to Fief's kingdom! Our team will get back to you very soon to help. In the meantime, take a minute to star our repository ⭐️ Want to support us?Subscribe to one of our paid plan to help us continue our work and receive exclusive information and benefits! Starts at $5/month 🪙 Farewell! |
Beta Was this translation helpful? Give feedback.
0 replies
-
You can use {
"id": "aeeb8bfa-e8f4-4724-9427-c3d5af66190e",
"scope": ["openid", "required_scope"],
"acr": "1",
"permissions": ["castles:read", "castles:create", "castles:update", "castles:delete"],
"access_token": "ACCESS_TOKEN",
} |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello guys
I'm using Fief to authenticate users in my React app and I would like using permissions to control which menus must be available accodingly with user permissions.
But, the return of hook
useFiefUserinfo
doesn't return user permissionsAre there any way to get this information?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions