Replies: 2 comments
|
I’m currently on my phone, so I’ll respond briefly and elaborate later. Multi-user auth should be handled by the Identity Provider (IdP), not by GoDoxy. You can configure For instance, if OIDC is enabled globally, these overrides only apply to the specified route. It's just one line like this: |
|
GoDoxy does not keep a user database. Pocket ID is only an example in the docs. Any OpenID Connect provider works (Authentik, Authelia, Keycloak, Pocket ID, and similar). You need that provider so there is a real user identity. After that, granting access is one allow list on the route. What you configure where
Global OIDC env vars log people into the WebUI. They do not lock every proxied app. An app stays public until you put Grant one person (or group) one appUsername must match the ID token claim A user is allowed if they match either If a route sets only Docker label (issuer and client inherit from labels:
proxy.#1.middlewares.oidc.allowed_groups: me,friendsOr a YAML block: labels:
proxy.#1.middlewares.oidc: |
allowed_users:
- alice
allowed_groups:
- familyRoute file: photos:
host: 192.168.1.20
port: 8080
middlewares:
oidc:
allowed_users:
- alice
allowed_groups:
- familyAt least one of Two common layouts1. Lock selected apps only Leave the entrypoint open. Add 2. Lock everything, then carve out public apps entrypoint:
middlewares:
- use: oidc
bypass:
- route pocket-id # the IdP itself must stay reachableA route that adds only # public health endpoint on an otherwise private app
proxy.myapp.middlewares.oidc.bypass: |
- path /healthIf you want users in a file, not OIDCUse forward auth to something like TinyAuth, and keep users there. GoDoxy still does not store those users. OIDC callback to add in the provider: The Docs: OIDC setup, OIDC middleware. |
Uh oh!
There was an error while loading. Please reload this page.
I’ve successfully installed and configured GoDoxy, and it works great. Now, I’d like to add multi-user support. Specifically to configure a user and grant them access to a particular application. I checked the documentation, it requires OIDC configuration and the installation of the Pocket-ID application, which seems a bit complex. Since my setup is for a small personal application, is there a simpler way to achieve this—perhaps via a configuration file?
All reactions