Skip to content

Commit

Permalink
Fix SSO default user role nameing
Browse files Browse the repository at this point in the history
  • Loading branch information
martinlagler committed Apr 30, 2024
1 parent 21b94cb commit a2b2667
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bundles/security/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ This can be configured in the ``config/packages/security.yaml``:
+ providers:
+ 'sulu.io':
+ dsn: 'openid://%env(resolve:SULU_OPEN_ID_CLIENT_ID)%:%env(resolve:SULU_OPEN_ID_CLIENT_SECRET)%@%env(resolve:SULU_OPEN_ID_ENDPOINT)%'
+ user_role: 'USER'
+ default_role_key: 'USER'
After adjusting the configuration and clearing the symfony cache,
you only see the ``username or email`` field when you try to login to the administration interface.
Expand Down

0 comments on commit a2b2667

Please sign in to comment.