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 · 2 comments
Open

Support Authentication via Token #522

sigoden opened this issue Jan 2, 2025 · 2 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
@fredleger
Copy link

fredleger commented Jan 28, 2025

or even better trough saml for great entreprise use cases

@leoneltrich
Copy link

I like the idea of tokens. Especially if it was a JWT! From a security standpoint, it would be great if the token was regenerated each time a user logs in using their password. I would use the Authentication header with Bearer for this. Especially with the possibility of JWT and the OAuth 2.0 standard in mind.

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

3 participants