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

Initial login to Caddy shows Unauthorized - Arch Linux Version #88

Open
pauldmccallum opened this issue Jul 21, 2023 · 1 comment
Open

Comments

@pauldmccallum
Copy link

Browsing to https://yourdomain.com/auth/settings/password and trying to log in as webadmin displays an Unauthorized page. I cannot get to the point where I even can enter a password.

@pauldmccallum pauldmccallum changed the title Initial login to Caddy shows Unauthorized Initial login to Caddy shows Unauthorized - Arch Linux Version Jul 22, 2023
@Aergernis
Copy link

Aergernis commented May 14, 2024

Hi,
had the same problem (also on ubuntu)

i've added 1 lines to Caddyfile under authentication portal myportal {

	  cookie domain yourdomain.com

don't forget to change yourdomain.com to your needs

Edit:
after some testing i got bad responds from server. after some testing also adding crypto default token lifetime 3600 solved it.
so i've added 2 lines not just 1

	  cookie domain yourdomain.com
	  crypto default token lifetime 3600

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

2 participants