Git Product home page Git Product logo

Comments (5)

slowkow avatar slowkow commented on June 15, 2024 2

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?

from caddy-security.

slowkow avatar slowkow commented on June 15, 2024

I confirmed that I get the same error for both versions of caddy:

  • downloaded build from the website (including caddy-security)
  • local build with 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.

from caddy-security.

greenpau avatar greenpau commented on June 15, 2024

@slowkow , the password recovery is not implemented.

from caddy-security.

slowkow avatar slowkow commented on June 15, 2024

@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...

from caddy-security.

greenpau avatar greenpau commented on June 15, 2024

@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 [email protected]
                                password "My@Password123" overwrite
                                roles authp/user authp/admin
                        }
		}

This way you will have your webadmin user ready.

from caddy-security.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.