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 Option pkce_verifier Cannot be Set Due to Overwrites #184

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

berniechiu
Copy link

@berniechiu berniechiu commented Nov 13, 2024

Hi @BobbyMcWho, thanks for this nice gem.

Description

The option :pkce_verifier, nil is available to be set in the OAuth Strategy configuration. However, it is being overwritten later phase in the #pkce_authorize_params function. We should only assign the default value when it is not set. This PR resolves the issue.

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