heavenvolkoff / caddy-authelia Goto Github PK
View Code? Open in Web Editor NEWCaddy 2 plugin for integration with Authelia
License: Mozilla Public License 2.0
Caddy 2 plugin for integration with Authelia
License: Mozilla Public License 2.0
I just discovered this. Looks awesome. Would you mind registering it w caddy as an official plug-in? I'm sure many others would love it.
Thanks!
The Authelia docs specify that Remote-Email
and Remote-Name
headers are set on responses and contain the user's email and actual name.
I'd like to be able to pass these headers upstream, similar to the existing Remote-User
and Remote-Groups
headers.
Bypass policies don't currently work with this plugin, because Authelia returns empty Remote-User
and Remote-Groups
headers in the response, and the code currently errors if these are empty.
What's the reason for the error check? Seems like it's mostly a debugging convenience and could be removed to support this use case.
I'm trying to build Caddy with this plugin, but it's failing with this error:
#0 45.94 caddy imports
#0 45.94 github.com/HeavenVolkoff/caddy-authelia: module github.com/HeavenVolkoff/caddy-authelia@latest found (v0.0.0-20210219182435-ac5659f59e0c), but does not contain package github.com/HeavenVolkoff/caddy-authelia
#0 45.95 2022/04/05 01:53:25 [INFO] Skipping cleanup as requested; leaving folder intact: /tmp/buildenv_2022-04-05-0152.1752966677
#0 45.99 2022/04/05 01:53:26 [FATAL] exit status 1
------
failed to solve: executor failed running [/bin/sh -c xcaddy build --with github.com/caddy-dns/cloudflare --with github.com/HeavenVolkoff/caddy-authelia@master]: exit code: 1
I'm building my own Docker image, and this is the build command:
xcaddy build --with github.com/caddy-dns/cloudflare --with github.com/HeavenVolkoff/caddy-authelia
Is something incorrectly setup?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.