greenpau / caddy-security

🔐 Authentication, Authorization, and Accounting (AAA) App and Plugin for Caddy v2. 💎 Implements Form-Based, Basic, Local, LDAP, OpenID Connect, OAuth 2.0 (Github, Google, Facebook, Okta, etc.), SAML Authentication. MFA/2FA with App Authenticators and Yubico. 💎 Authorization with JWT/PASETO tokens. 🔐
https://authcrunch.com/
Apache License 2.0
1.45k stars 72 forks source link

Where are the (example) templates? #127

Open Loqova opened 2 years ago

Loqova commented 2 years ago

https://authp.github.io/docs/authenticate/ui-features described how to override a template but gives no reference to what the template should consist of. I can't find them on disk or in this repo, but found out its apparently compiled into binaries.

Where are the source templates used currently? There is on way to override it without knowing what should be included in a template.

greenpau commented 2 years ago

@Loqova , please see https://github.com/greenpau/go-authcrunch/tree/main/assets/portal/templates/basic

Loqova commented 2 years ago

Thanks. Why a different repo? How are these two repos connected or related?

greenpau commented 2 years ago

Thanks. Why a different repo? How are these two repos connected or related?

@Loqova , caddy-security is a wrapper for go-authcrunch.

Loqova commented 2 years ago

Those mentioned files are out of sync with the compiled ones. So, it's somewhat unreliable to build something based of that.

greenpau commented 2 years ago

Those mentioned files are out of sync with the compiled ones. So, it's somewhat unreliable to build something based of that.

Until the next release they are out of sync. Once I release, they will be synced.