Getting CORS error and 401 status code when dagu is integrated in my Application. #501
Answered
by
yohamta
Narsimha1997
asked this question in
Q&A
-
Hi All, Iam running dagu as container using binary installation and i enabled basic auth in dagu and when iam trying to access dagu form my application getting cors and 401 error eventhough adding authorization token in headers. can anyone suggest that how to resolve this.. Thanks. |
Beta Was this translation helpful? Give feedback.
Answered by
yohamta
Jan 1, 2024
Replies: 1 comment 6 replies
-
Hi, thanks for the question. I think we need to update the cors middleware below. like so. I'd appreciate if a pull request can be made. Access-Control-Allow-Credentials: true Thanks! |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, sorry for the late response.
We've implemented API token feature. I think this should solve the issue.