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

Endpoint is not called on login with google #1829

Open
3 of 5 tasks
njtnestor opened this issue Feb 11, 2023 · 0 comments
Open
3 of 5 tasks

Endpoint is not called on login with google #1829

njtnestor opened this issue Feb 11, 2023 · 0 comments
Labels

Comments

@njtnestor
Copy link

njtnestor commented Feb 11, 2023

Version

module: 5.0.0-1667386184.dfbbb54
nuxt: 2.14.12

Nuxt configuration

  • universal
  • spa

Nuxt configuration

strategies: {
      google: {
        clientId: 'xxxxx',
        codeChallengeMethod: '',
        responseType: 'code',
        endpoints: {
          token: { url: 'http://localhost:3002/auth/google/redirect', method: 'get' }
        }
      }
 }

What is expected?

After login with google token call must be done

What is actually happening?

When I use the object {url:... , method: ....} is not calling to the url

I need define the method cause I need a GET instead a POST(default with string mode)

Additional information

Checklist

  • I have tested with the latest Nuxt version and the issue still occurs
  • I have tested with the latest module version and the issue still occurs
  • I have searched the issue tracker and this issue hasn't been reported yet
@njtnestor njtnestor added the bug label Feb 11, 2023
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

1 participant