feathersjs-ecosystem / feathers-sync

Synchronize service events between Feathers application instances
MIT License
221 stars 41 forks source link

Issue with Google oAuth #164

Closed ericuldall closed 3 years ago

ericuldall commented 3 years ago

Steps to reproduce

I'm seeing some inconsistent behavior with google oauth using feathers-sync. Occasionally seeing the following error:

error=Grant%3A%20missing%20session%20or%20misconfigured%20provider

I'm wondering if the api for some reason start oauth in one instance and then redirects back to another instance? Perhaps I need to also configure feathers http endpoint for sticky sessions to avoid any issues there?

daffl commented 3 years ago

Are you using Redis based sessions like documented here?

ericuldall commented 3 years ago

No :( Will that fix it? I have redis working for persisting events. Can I share the same instance?

daffl commented 3 years ago

Probably yes. And yes.

ericuldall commented 3 years ago

Okay. Rolling it out now :D Thanks @daffl

ericuldall commented 3 years ago

Works like a dream now <3