tfmm
tfmm8mo ago

Getting GrantRequired error when user has a grant

Created a new OIDC app to mirror the config of another app which works without issue. With the new app, all but one user are getting
Login not possible. The user is required to have at least one grant on the application. Please contact your administrator. (Internal)
Login not possible. The user is required to have at least one grant on the application. Please contact your administrator. (Internal)
The users all have identical grants (they're created via terraform using a loop, so I'm sure they're identical). Additionally if I disable Check authorization on Authentication and Check for Project on Authentication The users still get the same error message. Any ideas?
2 Replies
tfmm
tfmmOP8mo ago
AAAANNNNDD I'm 100% at fault here, I had an app behind oauth2proxy, and then configured the internal auth to use OIDC. I had not granted the new users access to oauth2proxy app. Once I removed the oauth2proxy config in front of this app it all works as expected. sigh.
Raccine
Raccine8mo ago
Hey @tfmm! Thanks for detailing your solution here :gigipixel:

Did you find this page helpful?