omniauth-oauth2
omniauth-oauth2 copied to clipboard
Fix Option `pkce_verifier` Cannot be Set Due to Overwrites
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.
@berniechiu please merge. thanks
@tomastrivino Sorry buddy, I cannot merge because I'm not the owner of this gem.