OAuth 2 Token request called on client side #1567
Unanswered
dkjensen
asked this question in
Support Requests
Replies: 1 comment
-
Any solution? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My SSR app is deployed on Heroku, and uses auth-next to facilitate the OAuth2 login. Using the authorization_code grant type, I noticed the request is made on the client side, and not server. The API I am using requires the client ID and secret to be base64 encoded and passed with the request containing the 'code', so I cannot use the token request call on the client side.
What can be done to perform the request server side, as soon as the code is sent back to my app?
nuxt.config.js
schemes/custom.js
Beta Was this translation helpful? Give feedback.
All reactions