Skip to content

Endpoint is not called on login with google #1829

@njtnestor

Description

@njtnestor

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

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