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

User Id through Authentication #82

Open
kelseyroy opened this issue Mar 28, 2022 · 0 comments
Open

User Id through Authentication #82

kelseyroy opened this issue Mar 28, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@kelseyroy
Copy link
Contributor

We need to

  1. make all routes protected using a requireToken like function so that no one else can access user information except the people who are allowed to

  2. RequireToken user.FindByToken is not a prototype in our User model right now, and this would allow us to use the token on state to access user information.

@kelseyroy kelseyroy self-assigned this Apr 6, 2022
@kelseyroy kelseyroy added the bug Something isn't working label Apr 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant