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

Create AuthGuard for trpc endpoints #36

Open
3 tasks
nalnir opened this issue Jul 29, 2023 · 0 comments
Open
3 tasks

Create AuthGuard for trpc endpoints #36

nalnir opened this issue Jul 29, 2023 · 0 comments
Assignees

Comments

@nalnir
Copy link
Owner

nalnir commented Jul 29, 2023

Currently endpoints can be called publicly. Create authGuard that check if:

  • User calling the endpoint provides _id
  • Is _id valid
  • Does user with provided _id have rights to call the endpoint
@nalnir nalnir self-assigned this Jul 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant