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

Fix the secret length check for PKCE and token encryption #29816

Merged
merged 2 commits into from Dec 13, 2022

Conversation

rsvoboda
Copy link
Member

Fix the secret length check for PKCE and token encryption

Docs says "secret must be 32 characters long".

I played a bit with PKCE case and things were not working when I had 33 characters long secret.
Users should be notified about the real constraints in error message, the length check needs to ensure expected length.

Copy link
Member

@sberyozkin sberyozkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Rostislav - may be it is worth squashing it into a single commit ? I'm fine with what you prefer

Quarkus Documentation automation moved this from To do to Reviewer approved Dec 12, 2022
@rsvoboda
Copy link
Member Author

Hi Sergey. I prefer separated commits as those are two independent changes.

@geoand geoand merged commit c773fd9 into quarkusio:main Dec 13, 2022
Quarkus Documentation automation moved this from Reviewer approved to Done Dec 13, 2022
@quarkus-bot quarkus-bot bot added this to the 2.16 - main milestone Dec 13, 2022
@gsmet gsmet modified the milestones: 2.16 - main, 2.15.1.Final Dec 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

4 participants