So the auth0 verifier parameter never seems to work, I am generating it in this way:
function base64URLEncode(str) {
return str.toString('base64')
.replace(/\+/g, '-')
.replace(/\//g, '_')
.replace(/=/g, '');
}
var verifier = base64URLEncode(crypto.randomBytes(32));
Which is the same way the site uses and the normal standard for auth0:
I am also unable to use a static code_verifier.
Error I always get:
{"error":"invalid_grant","error_description":"Failed to verify code verifier"}