You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upgrade to 4.8.0, try to login with Google oauth2.
In the callback url fetch method you'll have no auth data.
What is expected ?
To have the access_token available into $auth.getToken('google')
What is actually happening?
It's undefined
Additional comments?
What i can see, is that in the new server side callback url, the data gets extracted from the route without parsing the query: const parsedQuery = Object.assign({}, this.$auth.ctx.route.query, this.$auth.ctx.route.hash)
This assignment returns an empty object in my case.
This bug report is available on Nuxt community (#c363)
The text was updated successfully, but these errors were encountered:
Version
v4.8.0
Reproduction link
https://this-page-intentionally-left-blank.org/
Steps to reproduce
Upgrade to 4.8.0, try to login with Google oauth2.
In the callback url fetch method you'll have no auth data.
What is expected ?
To have the
access_token
available into$auth.getToken('google')
What is actually happening?
It's undefined
Additional comments?
What i can see, is that in the new server side callback url, the data gets extracted from the route without parsing the query:
const parsedQuery = Object.assign({}, this.$auth.ctx.route.query, this.$auth.ctx.route.hash)
This assignment returns an empty object in my case.
The text was updated successfully, but these errors were encountered: