Skip to content
New issue

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

Flex recipe - generated key_index #44

Closed
JindrichPilar opened this issue Jul 23, 2018 · 2 comments
Closed

Flex recipe - generated key_index #44

JindrichPilar opened this issue Jul 23, 2018 · 2 comments
Assignees
Labels

Comments

@JindrichPilar
Copy link

While following the installation instructions I encountered a problem with configuration for key_index, for both signature and encryption.

The key_index and kid in data generated by Flex recipe do not match in .env and in the yaml config.

Which resulted in

An error occurred while trying to encode the JWT token: Undefined index.
In LexikJoseEncoder.php (line 193)

After changing key_index to match kid everything works.

@Spomky
Copy link
Member

Spomky commented Jul 23, 2018

@Spomky
Copy link
Member

Spomky commented Feb 27, 2019

Should be solved now.
Feel free to reopen if not.

@Spomky Spomky closed this as completed Feb 27, 2019
github-actions bot pushed a commit to nicolas-grekas/recipes-contrib that referenced this issue Sep 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants