Restricting access with Entra ID group #6171
familyman4110
started this conversation in
Help Wanted
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
So my company has everything working with Entra ID authentication.. But we are trying to restrict access using a group we created now.
We created a security group lets call it "TEST", followed the documentation to add groups claim to the token
I then added the env variables:
OPENID_REQUIRED_ROLE_PARAMETER_PATH = "roles"
OPENID_REQUIRED_ROLE = "TEST"
and now when we try to run the application we get "Internal Server Error", checking the logs I see the following error:
login failed cannot use 'in' operator to search for '"roles"' in
any help would be appreciated
Beta Was this translation helpful? Give feedback.
All reactions