You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I have been using the gitlab provider for generic OAUTH2 authentication. In general, OAUTH2 users are able to successfully login. However, when these users are assigned the "administrator" roles, this doesn't appear in the "authority" payload and lead to the user not having access to the administrator pages.
To Reproduce
Steps to reproduce the behavior:
Set up "gitlab" provider for oauth2
Login with the oauth2 identity to have the identity imported in the user list
Login with the local admin user and set the oauth2 identity as admin
Log in again with oauth2 user, and check that the user isn't admin, since pages such as "users" are not available.
Expected behavior
The oauth2 user should also be configured as "administrator" and have access to admin pages such as "users".
Screenshots "user" Payload
"authority" Payload
Desktop (please complete the following information):
Describe the bug
I have been using the
gitlab
provider for generic OAUTH2 authentication. In general, OAUTH2 users are able to successfully login. However, when these users are assigned the "administrator" roles, this doesn't appear in the "authority" payload and lead to the user not having access to the administrator pages.To Reproduce
Steps to reproduce the behavior:
Expected behavior
The oauth2 user should also be configured as "administrator" and have access to admin pages such as "users".
Screenshots
"user" Payload
"authority" Payload
Desktop (please complete the following information):
Additional context
None
The text was updated successfully, but these errors were encountered: