Closed slowkow closed 11 months ago
I confirmed that I get the same error for both versions of caddy:
xcaddy build --with github.com/greenpau/caddy-security
I feel like I must be missing something ... but I don't know what. I'm just trying to get started with your documentation examples.
@slowkow , the password recovery is not implemented.
@greenpau What would you recommend for a newcomer who wants to get started quickly with a simple config?
I don't particularly care about password recovery (or any other feature). I just want to follow a simple tutorial that actually works. So far, no luck. Like I said, I'm just trying to get started...
@slowkow , I would start with this Caddyfile
: https://github.com/authp/authp.github.io/blob/main/assets/conf/local/Caddyfile
I would change the following with:
local identity store localdb {
realm local
path {$HOME}/.local/caddy/users.json
}
with
local identity store localdb {
realm local
path {$HOME}/.local/caddy/users.json
user webadmin {
name John Smith
email jsmith@localhost.localdomain
password "My@Password123" overwrite
roles authp/user authp/admin
}
}
This way you will have your webadmin
user ready.
Thanks. The other config you linked looks like it might work after many additional changes.
Could I please ask why the config contains https://auth.myfiosgateway.com:8443
?
Why isn't this http://127.0.0.1:8443/auth
or something else that newcomers could use?
Describe the issue
I'm trying the example Caddyfile for user registration, and it does not work. I get the error below when I do
caddy run
:Configuration
It is the same config as this one:
https://github.com/authp/authp.github.io/blob/main/assets/conf/local/registration/Caddyfile
Paste full
Caddyfile
below:Version Information
Provide output of
caddy list-modules -versions | grep git
below:Expected behavior
Did I get the wrong caddy version? Why isn't the config working?