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 wrong response_type parsed when missing response_mode #365

Merged
merged 1 commit into from
Jun 30, 2023
Merged

Fix wrong response_type parsed when missing response_mode #365

merged 1 commit into from
Jun 30, 2023

Conversation

JokerQyou
Copy link
Contributor

What does this PR do?

The original code incorrectly read configured default respone_mode value into a variable holding response_type value. This causes OAuth2 requests without response_mode passed via URL query parameter to fail, because response_type value will then be filled with illegal value.

Which issue(s) does this PR fix?

There's no issue at this point. I was testing integration with Memos and found this coding typo. Their SSO implementation does not pass response_mode, thus resulting in error.

If this PR affects any API reference documentation, please share the updated endpoint references

There's no API change.

@JokerQyou
Copy link
Contributor Author

@lakhansamani Please kindly review this PR and release a new version soon, thanks.

Copy link
Contributor

@lakhansamani lakhansamani left a comment

Choose a reason for hiding this comment

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

LGTM

@lakhansamani
Copy link
Contributor

Thanks @JokerQyou for the contribution

@lakhansamani lakhansamani merged commit 9ae616b into authorizerdev:main Jun 30, 2023
@lakhansamani
Copy link
Contributor

@JokerQyou released as part of 1.1.52 (https://github.com/authorizerdev/authorizer/releases/tag/1.1.52)

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.

2 participants