We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug When using the config for using a JKU key set I get an error that JKU is not a supported option.
To Reproduce Steps to reproduce the behavior:
In httplu.yaml
httplug: plugins: cache: cache_pool: 'cache.app' config: default_ttl: 1800 clients: jwk: factory: 'httplug.factory.guzzle6' plugins: ['httplug.plugin.cache']
In jose.yaml
jose: jku_factory: enabled: true client: 'httplug.client.jwk' request_factory: 'httplug.message_factory' keys: test: jku: # method url: '%env(TOEGANG_BASE_URI)%/oauth/certs'
Error:
(1/1) InvalidConfigurationExceptionUnrecognized option "jku" under "jose.keys.test". Did you mean "jwk"?
Installed package is the latest composer require web-token/jwt-framework (1.3.1).
composer require web-token/jwt-framework
Expected behavior For the configuration to work.
Desktop (please complete the following information): PHP 7.1, symfony 4.2
Thanks :)
The text was updated successfully, but these errors were encountered:
Okay just after posting I found out that the config is wrong, keys need to be key_sets.
So the docs here have a typo: https://web-token.spomky-labs.com/symfony-bundle/key-and-key-set-management/key-set-management-jwkset#from-a-jku-jwk-url
Sorry, something went wrong.
Good catch!
I've just updated the page accordingly (see web-token/jwt-doc@ba4482c and web-token/jwt-doc@fcb7863)
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
No branches or pull requests
Describe the bug
When using the config for using a JKU key set I get an error that JKU is not a supported option.
To Reproduce
Steps to reproduce the behavior:
In httplu.yaml
In jose.yaml
Error:
Installed package is the latest
composer require web-token/jwt-framework
(1.3.1).Expected behavior
For the configuration to work.
Desktop (please complete the following information):
PHP 7.1, symfony 4.2
Thanks :)
The text was updated successfully, but these errors were encountered: