Oauth2 ClientId ClientSecret with axios #1506
Unanswered
linqFR
asked this question in
Support Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am using local scheme to access my oauth2 internal server with grant
password
and have got an issue:clientId
is sent in the body instead ofas expected by axios (see https://github.com/axios/axios#request-config ).
Working with axios directly to request token, following axios options are working fine:
OR if Authorization requires a Bearer, i am using:
Reading code i see that clientId is added to data (body) in Local Scheme before being sent to axios.
auth-module/src/schemes/local.ts
Line 159 in 37b1156
Does LocalScheme not support grant type
password
? Have i to write a custom Local?Beta Was this translation helpful? Give feedback.
All reactions