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

Support Authentication via Token #522

Open
sigoden opened this issue Jan 2, 2025 · 0 comments
Open

Support Authentication via Token #522

sigoden opened this issue Jan 2, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@sigoden
Copy link
Owner

sigoden commented Jan 2, 2025

Design Proposal

  • Allow the token to be included in either the query string (?token=<TOKEN>) or the request header (X-TOKEN: <TOKEN>).
  • The token will take precedence over the standard authorization header. If the token authentication fails, the system will then fall back to using the authorization header for authentication.
  • Each user will be assigned a unique token. The token will be refreshed every time the dufs service is restarted.

Why need this features

@sigoden sigoden added the enhancement New feature or request label Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant