Last active
August 11, 2023 11:23
-
-
Save vincentchalamon/9c963182f2625716f3d1c7ea4d69e616 to your computer and use it in GitHub Desktop.
Symfony Security configuration using AccessTokenAuthenticator
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# api/config/packages/security.yaml | |
security: | |
firewalls: | |
main: | |
pattern: ^/ | |
access_token: | |
token_handler: | |
oidc: | |
# Algorithm used to sign the JWS | |
algorithm: 'ES256' | |
# A JSON-encoded JWK | |
key: '{"kty":"...","k":"..."}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment