-
Notifications
You must be signed in to change notification settings - Fork 118
No cookie/sessionstorage/anything is stored following official oauth2 example from guide. #646
Comments
I tried using the latest versions of feathers-client and socket.io-client from unpkg.com to no avail. |
Have been playing around some more. With this config, I get sent to a page showing me JSON containing a token: "github": {
"clientID": "...",
"clientSecret": "...",
"callbackURL": "http://localhost:3030/auth/github/callback"
} And with this config, I get sent to "github": {
"clientID": "...",
"clientSecret": "...",
"callbackURL": "http://localhost:3030/auth/github/callback",
"successRedirect": "http://localhost:3030/?success",
"failureRedirect": "http://localhost:3030/?failure"
} There are way too many moving parts for me to figure out which part of all this is breaking, good luck! |
The guide starts with the words |
oAuth has been changed significantly in Feathers v4 authentication and does no loner use cookies to transmit the token. Please see the migration guide for more information. Closing this issue in order to archive this repository. Related issues can be opened at the new code location in the Feathers main repository. |
Steps to reproduce
I followed the instructions here from the official guide.
Expected behavior
Authentication should work.
Actual behavior
Everything seems to work and I am redirected to my app with a query parameter (
code
).No cookie is ever stored on the client.
The console displays this after logging in:
System configuration
Module versions (especially the part that's not working):
NodeJS version:
v8.10.0
Operating System:
Fedora
Browser Version:
Chrome 64
React Native Version:
N/A
Module Loader:
???
The text was updated successfully, but these errors were encountered: