Skip to content

Commit

Permalink
feat: OpenId authenticator config
Browse files Browse the repository at this point in the history
  • Loading branch information
ambroisemaupate committed Feb 11, 2022
1 parent 66f867b commit 14f36df
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/packages/roadiz_core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,8 @@ roadiz_core:
oauth_client_id: '%env(string:OPEN_ID_CLIENT_ID)%'
# OpenID identity provider OAuth2 client secret
oauth_client_secret: '%env(string:OPEN_ID_CLIENT_SECRET)%'
granted_roles:
- ROLE_USER
- ROLE_BACKEND_USER


2 changes: 2 additions & 0 deletions config/packages/security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ security:
path: logoutPage
custom_authenticator:
- RZ\Roadiz\RozierBundle\Security\RozierAuthenticator
# Enables OpenId on backoffice entrypoint
- roadiz_rozier.authenticator.open_id

# Easy way to control access for large sections of your site
# Note: Only the *first* access control that matches will be used
Expand Down

0 comments on commit 14f36df

Please sign in to comment.