- Added knpuniversity/oauth2-client-bundle and league/oauth2-client to composer.json - Updated composer.lock with new dependencies - Registered KnpUOAuth2ClientBundle in bundles.php - Configured security.yaml for custom authenticator and access control - Created OIDC setup documentation (OIDC_SETUP.md) - Implemented OAuthController for handling Pocket-ID authentication flow - Developed PocketIdProvider and PocketIdResourceOwner for OIDC integration - Created PocketIdAuthenticator for user authentication and management - Updated login.html.twig to include Pocket-ID login button with styling - Added knpu_oauth2_client.yaml configuration for Pocket-ID client
13 lines
457 B
YAML
13 lines
457 B
YAML
knpu_oauth2_client:
|
|
clients:
|
|
pocketid:
|
|
type: generic
|
|
provider_class: App\OAuth\PocketIdProvider
|
|
client_id: '%env(OAUTH_POCKET_ID_CLIENT_ID)%'
|
|
client_secret: '%env(OAUTH_POCKET_ID_CLIENT_SECRET)%'
|
|
redirect_route: connect_pocketid_check
|
|
redirect_params: {}
|
|
provider_options:
|
|
pocket_id_url: '%env(OAUTH_POCKET_ID_URL)%'
|
|
use_state: true
|