strongloop / loopback-component-passport

LoopBack passport integration to support third party logins and account linking
Other
139 stars 228 forks source link

Error 500 facebook/auth with random users #275

Closed TijmenElseviers closed 4 years ago

TijmenElseviers commented 5 years ago

Description/Steps to reproduce

Hey,

I'm having this issue with the passport component for facebook in loopback. I configured everything to work and tried it out in developer modus. This worked like a charm. I published the authentication via the facebook developer console. The same for my google authentication.

After that I started some tests with other users. The google authentication works fine, but I'm having this weird issue with the facebook part. For some users, they seem random for me, it gives this 500 error.

This is my google cloud log of the issue. "Cannot call API on behalf of this user". I've found similar issues online, but their problems doesn't seem to be the same as mine since most of the users are just able to use the facebook button. image

I don't know why this happens, I've tried comparing the working facebook accounts with theirs in case it might be some facebook setting. But that doesn't seem to be the problem.

Has anyone got the same issue, is it something in my settings or rather a problem on the facebook side of things?

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 4 years ago

This issue has been closed due to continued inactivity. Thank you for your understanding. If you believe this to be in error, please contact one of the code owners, listed in the CODEOWNERS file at the top-level of this repository.