-
-
Notifications
You must be signed in to change notification settings - Fork 761
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
TypeError: Cannot read properties of undefined (reading 'sub') #3266
Comments
In
To this (in my node_module files):
Made it work for both Google and Github. |
Hm, after applying your fix I'm now getting this error:
|
@JonasTheGamer Not sure why you are getting this, other than you are not requesting that information? Is this with google or github? I didn't test other services, as I thought this was close enough to the original not to impact others. |
@MarcGodard |
@gypsicoder I don't think the database had anything to do with it. |
It looks like it is a bug, there are more details reported in #3275 - basically it seems like an error happened (which is why there isn't a profile) but went through the process normally. Needs some more investigation but should be fixed in the next release. |
This should be fixed via #3284 in v5.0.9 and propagate the error that likely happened here (instead of just returning an undefined profile). |
I keep having this issue on v5 (no problem on v4) and I am not sure if it is because of my config or still a bug from feathers oauth. |
Steps to reproduce
Expected behavior
No error and user created
Actual behavior
Above Error
System configuration
Brand new feathers 5.0.8 project (javascript, npm, json schemas)
Module versions (especially the part that's not working): 5.0.8
NodeJS version: v16
Operating System: linux
The text was updated successfully, but these errors were encountered: