feathers
feathers copied to clipboard
Getting Cannot read property 'response' of undefined using authentication-oauth for facebook
Steps to reproduce
I'm using @feathersjs/authentication-oauth for Oauth with Facebook.
Right now, when I'm doing the Facebook Oauth in the server (which is running in multiple PODS), I'm getting the error Cannot read property 'response' of undefined from the pkg.
import { OAuthStrategy } from '@feathersjs/authentication-oauth'
Pkg Version:
"@feathersjs/authentication": "4.5.11",
"@feathersjs/authentication-local": "4.5.11",
"@feathersjs/authentication-oauth": "4.5.11",
"@feathersjs/authentication-oauth2": "1.3.1",
"@feathersjs/configuration": "4.5.11",
Expected behavior
When I do log in with Facebook it should give me the access token and the code should go to getProfile function.
Actual behavior
When I do log in with Facebook it gives the error.
System configuration
Running in Kubernetes with multi pods.
Module versions (especially the part that's not working):
import { OAuthStrategy } from '@feathersjs/authentication-oauth'
NodeJS version: Node 12
Operating System: Linux
Browser Version: Version 112.0.5615.49 (Official Build) (x86_64)