Closed kasali closed 10 months ago
Now i updated my code by generating the code_verifier but I get this error : Error fetching OAuth credentials: "Missing valid authorization header". From this post I turn on Public client and I have this : Error fetching OAuth credentials: "Value passed for the authorization code was invalid.".
hey
rtrim(strtr(base64_encode(hash('sha256', $codeVerifier, true)), '+/', '-_'), '=');
what is the purpose of this row?
Hello sadikoff,
It's for encoding in base64 and haching the code_verifier.
I have this error after clicking the authorize button. My config : knpu_oauth2_client.yaml :
My routes :
Authenticate method :