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.
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.