Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google login issue #1845

Open
Daewon25 opened this issue Apr 4, 2023 · 3 comments
Open

Google login issue #1845

Daewon25 opened this issue Apr 4, 2023 · 3 comments
Labels

Comments

@Daewon25
Copy link

Daewon25 commented Apr 4, 2023

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?

@Daewon25 Daewon25 changed the title Google login Google login issue Apr 4, 2023
@yartsun
Copy link

yartsun commented Apr 6, 2023

Do remove port :3000 from google cloud

@Daewon25
Copy link
Author

Daewon25 commented Apr 6, 2023

Do remove port :3000 from google cloud

You mean from authorized URIs?

@Daewon25
Copy link
Author

Daewon25 commented Apr 12, 2023

It's not help at all.

Do remove port :3000 from google cloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants