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

[Feat] - Server Auth: Phase 1 #258

Closed
gowthamsundaresan opened this issue Oct 10, 2024 · 0 comments
Closed

[Feat] - Server Auth: Phase 1 #258

gowthamsundaresan opened this issue Oct 10, 2024 · 0 comments
Assignees

Comments

@gowthamsundaresan
Copy link
Collaborator

gowthamsundaresan commented Oct 10, 2024

Goal

Middleware API token based auth system to check if a caller is authenticated (record exists and accessLevel > 0). For Phase 1, total number of API calls will be capped for unauthenticated callers. In Phase 2, we will setup a dev portal linked to Stripe that will dictate accessLevel basis tiered plans.

Considerations

  • Best way to manage multiple DB connections (Backend & Dashboard)
  • Logging of each API request in the Dashboard DB (user <> token <> request)
  • Best way to manage cache store/update of API tokens & their accessLevels
  • Rate limiter will check for API token instead & fallback to IP address
@gowthamsundaresan gowthamsundaresan self-assigned this Oct 10, 2024
@gowthamsundaresan gowthamsundaresan linked a pull request Oct 11, 2024 that will close this issue
@uditdc uditdc closed this as completed Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants