Skip to content

Auth0 Provider not generating PKCE code challenge #1683

Answered by Javetz
Javetz asked this question in Q&A
Discussion options

You must be logged in to vote

Re-installed the plugin and applied the oauth configs as per documentation and it all worked.

auth: {
    redirect: {
      login: '/login', // redirect user when not connected
      callback: '/auth/callback'
    },
    strategies: {
      local: false,
      oauth2: {
        scheme: 'oauth2',
        domain: process.env.AUTH_DOMAIN,
        clientId: process.env.AUTH_CLIENT_ID,
        scope: ['openid','profile'],
        responseType: 'code',
        grantType: 'authorization_code',
        codeChallengeMethod: 'S256',
        endpoints: {
          authorization: process.env.AUTH_ENDPOINT,
          token: process.env.AUTH_TOKEN_ENDPOINT,
          userInfo: process.env.AUTH_USER_INF…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Javetz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant