I would like to know the possibilities of receiving this error
Invalid code_challenge_method
i was checking the code and it looks like when it doesn’t find the hash code used , it throws the error
if (methods.indexOf(tokenParams.codeChallengeMethod) === -1) {
throw new AuthSdkError(‘Invalid code_challenge_method’);
}
Code challenge parameter if PKCE flow has to be initiated. code_challenge_method . Optional. The default value is plain. The value can be plain or S256.