-
-
Notifications
You must be signed in to change notification settings - Fork 161
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
Implement skipper middleware for basic-auth #509
Comments
@yohamta may I know why we need a would user have the control to set a if they wouldn't, i think we can have a
and update the
wdyt? |
@rafiramadhana Thanks for the great suggestion! I agree, your approach seems more streamlined and straightforward. Just a quick reminder, we should ensure that |
got it, i will submit a PR |
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.
Token auth implementation is already implemented in #508 .
The rest of work is to implement a skipper middleware for basic auth middleware to be skipped when the auth token is set in http request so that WebUI continues to be usable which does not send auth token.
To-do:
AuthToken
field).DAGU_AUTH_TOKEN
) for token management.WithSkipper
to skip basic auth middleware when auth_token is set in HTTPAuthorization
header.Pseudo code:
The text was updated successfully, but these errors were encountered: