Skip to content

Google login issue  #1845

@VanillaCocaCola

Description

@VanillaCocaCola

Hey, I have some trouble with google login.
After login token is false, user is empty, state have only strategy value.

"@nuxtjs/auth-next": "5.0.0-1667386184.dfbbb54",
"nuxt": "^2.15.8",
 google: {
          scheme: 'oauth2',
          endpoints: {
            authorization: 'https://accounts.google.com/o/oauth2/auth',
            token: 'https://oauth2.googleapis.com/token',
            userInfo: 'https://www.googleapis.com/oauth2/v3/userinfo'
          },
          codeChallengeMethod: '',
          responseType: 'token id_token',
          clientId: 'CLIENT ID'
          redirectUri: 'http://localhost:3000',
          scope: ['https://www.googleapis.com/auth/userinfo.profile', 'https://www.googleapis.com/auth/userinfo.email']
        }
      }

image

What im doing wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions