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 malformed www-authenticate issue #88

Merged
merged 1 commit into from
Jul 9, 2024

Conversation

Bdegraaf1234
Copy link
Member

Our WWW-Authenticate headers were incorrectly formatted, reading

     WWW-Authenticate: Bearer realm="example" error="invalid_token" error_description="The access token expired"

instead of

     WWW-Authenticate: Bearer realm="example", error="invalid_token", error_description="The access token expired"

According to the oauth2 spec and the HTTP spec.

This should fix the error

Copy link

@pvannierop pvannierop left a comment

Choose a reason for hiding this comment

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

LGTM

@Bdegraaf1234 Bdegraaf1234 merged commit eec126b into dev Jul 9, 2024
1 check passed
@Bdegraaf1234 Bdegraaf1234 deleted the fix/malformed-www-authenticate-header branch July 9, 2024 11:03
@Bdegraaf1234 Bdegraaf1234 mentioned this pull request Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants