xombiemp / ultimate-torrent-setup

All the files needed for the Ultimate Torrent Setup, featuring Ubuntu, rtorrent, ruTorrent, Sonarr, Radarr.
232 stars 44 forks source link

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

Open pauldmccallum opened 1 year ago

pauldmccallum commented 1 year ago

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.

Aergernis commented 4 months ago

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