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 used the strategy 'social': auth: { strategies: { social: { scheme: 'oauth2', grantType: 'authorization_code', responseType: 'code', clientId: config.CLIENT_ID, scope: ['profile'], endpoints: { authorization:${config.API_URL}authorize, token: ${config.API_URL}access_token, userInfo: ${config.API_URL}me, logout: ${config.API_URL}logout}, } }, redirect: { login: '/login', callback: '/callback', home: '/' },
when requested(POST /access_token), it does not add client_secret.
Is it possible to add a param client_secret for access_token?
How to add custom providers oauth2 similar to github.ts ?
This discussion was converted from issue #1368 on January 18, 2022 10:41.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I used the strategy 'social':
auth: { strategies: { social: { scheme: 'oauth2', grantType: 'authorization_code', responseType: 'code', clientId: config.CLIENT_ID, scope: ['profile'], endpoints: { authorization:
${config.API_URL}authorize, token:
${config.API_URL}access_token, userInfo:
${config.API_URL}me, logout:
${config.API_URL}logout}, } }, redirect: { login: '/login', callback: '/callback', home: '/' },
when requested(POST /access_token), it does not add client_secret.
Is it possible to add a param client_secret for access_token?
How to add custom providers oauth2 similar to github.ts ?
Beta Was this translation helpful? Give feedback.
All reactions