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

Error when using caddy reverse proxy for basicauth simple authentication #26

Open
abolast opened this issue Apr 7, 2023 · 1 comment

Comments

@abolast
Copy link

abolast commented Apr 7, 2023

I encountered an error while trying to set up basic authentication using Caddy's reverse proxy and basicauth module. Specifically, the error message stated that the authorization header format must be "Bearer {token}." My deployment is using Docker Compose locally, and I'm attempting to provide simple authentication for the Web-UI. Interestingly, I tried running the "https://github.com/websu-io/websu-ui" project locally and Caddy was able to provide authentication through the basicauth module without issue. I'm curious to know what the difference is between the Docker and Yarn build versions of websu-ui.

@abolast
Copy link
Author

abolast commented Apr 8, 2023

I have seen jwt.go.Maybe i can reduce all jwt code. Also, I can configuring caddy2 authentication on jwt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant