SijuKJ / desktopoauth2.0

MIT License
5 stars 2 forks source link

Client Secret doesnt get read in #2

Closed kinga112 closed 5 months ago

kinga112 commented 9 months ago

{error: invalid_request, error_description: client_secret is missing.}

I get the same response whether client secret is there or not.

There's no other stack trace.

kinga112 commented 9 months ago

I tried to force pkce = false, but this was response from Google Parameter not allowed for this message type: client_secret

kinga112 commented 9 months ago

I was able to fix by leaving flow to follow pkce true path in oauthorizeCode and adding client secret into body of fetchAccessToken response.

I can add code example if others have this issue.