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

Implementing Token-Based Authentication #505

Closed
3 of 5 tasks
yottahmd opened this issue Dec 8, 2023 · 2 comments
Closed
3 of 5 tasks

Implementing Token-Based Authentication #505

yottahmd opened this issue Dec 8, 2023 · 2 comments
Labels
good first issue Good for newcomers

Comments

@yottahmd
Copy link
Collaborator

yottahmd commented Dec 8, 2023

Current authentication method: Basic Authentication.
Proposed enhancement: Token-Based Authentication.
Motivation: To make it easier to use the API, especially for JavaScript applications running in a browser from a different domain. Refer to the discussion here for more context: GitHub Discussion #501.

To-do:

  • Implement the configuration option for token-based authentication (AuthToken field).
  • Create an environment variable (DAGU_AUTH_TOKEN) for token management.
  • Implement middleware for token-based authentication.
  • Adjust basic auth middleware to recognize and skip requests with valid tokens.
  • Test that the Web UI remains unaffected by these changes.
@yottahmd yottahmd added the good first issue Good for newcomers label Dec 8, 2023
@yottahmd yottahmd changed the title Add a primitive token based authentication Implementing Token-Based Authentication Dec 8, 2023
@smekuria1
Copy link
Contributor

Hello, I would like to tackle this issue.

@yottahmd
Copy link
Collaborator Author

Hello, that's great! thanks!

@smekuria1 smekuria1 mentioned this issue Dec 14, 2023
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants