OAuth2
Last updated
Was this helpful?
Was this helpful?
authentication:
1:
oauth2:
keycloak:
enabled: true
title: "Sign in with Keycloak"
client_id: "<client-id>"
client_secret: "<client-secret>"
auth_server_url: "https://keycloak.yourorg.com"
realm: "your-realm"
allow_create_new_users: trueauthentication:
1:
oauth2:
facebook:
enabled: true
title: "Sign in with Facebook"
client_id: "<app-id>"
client_secret: "<app-secret>"
graph_api_version: "v20.0"
allow_create_new_users: trueauthentication:
1:
oauth2:
myprovider:
enabled: true
title: "Sign in with MyProvider"
client_id: "<client-id>"
client_secret: "<client-secret>"
urlAuthorize: "https://provider.example.com/oauth/authorize"
urlAccessToken: "https://provider.example.com/oauth/token"
urlResourceOwnerDetails: "https://provider.example.com/api/user"
scopes: ["openid", "email", "profile"]
allow_create_new_users: truephp bin/console cache:clear && php bin/console cache:warmup