Skip to content
This repository has been archived by the owner on Apr 29, 2019. It is now read-only.

OAuth in Development Env #12

Closed
dayfine opened this issue Nov 14, 2017 · 3 comments
Closed

OAuth in Development Env #12

dayfine opened this issue Nov 14, 2017 · 3 comments
Assignees

Comments

@dayfine
Copy link
Owner

dayfine commented Nov 14, 2017

Right now the OAuth workflow works if we posts the request to 'localhost:3001/api/auth/google'. However, the proxy setting I tried so far (both client/server ones) cannot correctly redirect the 'localhost:3000/api/auth/google' request to port 3001.

This should not be a problem for production. But we need something that works for the development workflow.

References
CRA Issue #147
CRA Issue #1790

@dayfine
Copy link
Owner Author

dayfine commented Nov 16, 2017

Right now, it is solved by explicitly using '//localhost:3001/api/oauth' as url for google login.
This should be changed before deployment.

@dayfine dayfine self-assigned this Nov 16, 2017
@dayfine
Copy link
Owner Author

dayfine commented Nov 20, 2017

Signup doesn't workout very well right now (or more like not addressed/tested)

@dayfine
Copy link
Owner Author

dayfine commented Dec 4, 2017

google callback should be redirected to jwt token verify route for authentication

@dayfine dayfine closed this as completed Dec 4, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant