Beffroi Demo https://op.spk.li
Sign in

Symfony's oidc_login

A Symfony application signs in with configuration alone, no line of code.

Client Patrq7JZRCb2OeoGlDcC6KWgQT…

Firewall "main"

config/packages/security.yaml

security:    firewalls:        main:            oidc_login:                provider_uri: '%env(OIDC_PROVIDER_URI)%'                client_id: '%env(OIDC_CLIENT_ID)%'                client_authentication:                    client_secret_basic: '%env(OIDC_CLIENT_SECRET)%'                scope:                    - openid                    - profile                    - email                    - invoices.read                    - invoices.pay                refresh_access_token: true                enable_end_session: true                post_logout_redirect_path: /                backchannel_logout:                    enabled: true                    cache: app.oidc_ended_sessions                authorization_params:                    response_mode: '%env(OIDC_RESPONSE_MODE)%'
Proof

Run it: every step it takes is ticked here.