Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup express auth middleware for API routes & web socket connections. #86

Open
kurtisgrant opened this issue Feb 20, 2022 · 1 comment
Assignees
Labels

Comments

@kurtisgrant
Copy link
Owner

No description provided.

@kurtisgrant kurtisgrant created this issue from a note in Final Project (Core) Feb 20, 2022
@kurtisgrant kurtisgrant self-assigned this Feb 20, 2022
@kurtisgrant kurtisgrant moved this from Core to In Progress in Final Project Feb 20, 2022
@kurtisgrant
Copy link
Owner Author

Ran into issues where cookies would not set due to frontend and backend not being on the same port.
A solution is to set a proxy, however I don't think this will work for our API and WS since we'd need 2 proxies.
Will have to return to this issue at a later date.

In the meantime we will have to do without authentication temporarily or send the current user with requests from the frontend, and authenticate each on the server.

@kurtisgrant kurtisgrant moved this from In Progress to Stretch in Final Project Feb 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

1 participant