You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was under the assumption that the secret shouldn't be specified, because this request is usually done by browsers and a clientSecret would be kinda pointless there, but it appears from the specification that this incorrect; which makes sense now given that the request to the /token endpoint could also be done by another server.
So this is a gap in the library, need to fix this!
I'm using this and the Authorization header doesn't seem to be set in the request:
clientSecret
is set.I'm wondering if this condition should be
body.grant_type === 'authorization_code'
:oauth2-client/src/client.ts
Lines 268 to 271 in 00f1cd3
The text was updated successfully, but these errors were encountered: