SijuKJ / desktopoauth2.0

MIT License
5 stars 2 forks source link

Update desktop_oauth2.dart #3

Closed kinga112 closed 9 months ago

kinga112 commented 9 months ago

Fix Issue #2

When user forces pkce=false, _fetchAccessToken will pass clientSecret in tokenReqPayload, which avoids failure. I found that leaving pkce=true is also successful when passing clientSecret through.

kinga112 commented 9 months ago

Forgot to add another commit.