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
Try using github oauth or google oauth (I've tested both)
The oauth page of the provider opens, the authentication with the provider is successfull
The app is redirected and there is an error in the params
TypeError: Cannot read properties of undefined (reading 'sub')
It appears that some other people have also experienced this issue. Is this a bug with the @feathersjs/authentication-oauth@5.0.0 or am I missing something in the config ?
thanks a lot for your help :)
Expected behavior
Should authenticate and return the logged in use
Actual behavior
Authentication failed and returns error message
System configuration
Tell us about the applicable parts of your setup.
Feathers v5
I think I'm being plagued by the same issue: #3465
Been digging a bit and I have a feathers v4 app that uses the same strategy and it works fine but one thing i did notice is it looks like my other app is using oauth2 v1 and my new app is using oauth2 v2.
FWIW I just had this issue... turns out though it was simply because in my haste I'd been trying to login via the oAuth callback URL. Posting this in case it helps anyone else visitng this issue!
Steps to reproduce
TypeError: Cannot read properties of undefined (reading 'sub')
It appears that some other people have also experienced this issue. Is this a bug with the @feathersjs/authentication-oauth@5.0.0 or am I missing something in the config ?
thanks a lot for your help :)
Expected behavior
Should authenticate and return the logged in use
Actual behavior
Authentication failed and returns error message
System configuration
Tell us about the applicable parts of your setup.
Feathers v5
config/default.json
custom-environment-variables.json
The text was updated successfully, but these errors were encountered: