You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I solved it by installing web-token/jwt-bundle and web-token/jwt-key-mgmt packages.
Configuring the service with :
jose:
keys: # Configuration of the keyspublic: # Unique key namefile: # Name of the methodpath: '%kernel.project_dir%/config/jwt/public.key'is_public: trueadditional_values: # Optional values.use: 'sig'alg: 'RS256'
My route was /openid/key/set but feel free to modify it the way you want. Remember to type-hint correctly $publicKey (corresponding to the entry public in the YAML file).
Anyway it would be good to have this directly in the symfony bundle. I'll try to take a look.
Relying parties who want to check the
id_token
validity against the public key issue aGET /ket/set
on the OpenId Authorization Server/Provider.We need a service to reply to this request with the public key.
The text was updated successfully, but these errors were encountered: