Skip to content

really hard time getting tinyauth to start #945

@patatetom

Description

@patatetom

hi,

I'm having a really hard time starting the tinyauth@127.0.0.1:3000 service so that it sits between caddy@0.0.0.0:443 and mywebapp@127.0.0.1:8000 and uses lldap@127.0.0.1:3890.

caddy is working fine and allows me to access mywebapp without any issues (reverse_proxy 127.0.0.1:8000).
this section (which links caddy and tinyauth) is then added to the caddy configuration :

forward_auth 127.0.0.1:3000 {
  uri /api/auth/caddy
  copy_headers Remote-User Remote-Groups Remote-Name Remote-Email
}

lldap is working properly, and an alice account has been set up for authentication with mywebapp :

ldapsearch -H ldap://127.0.0.1:3890 -D "uid=observer,ou=people,dc=example,dc=com" -w xxxxxxxx -LLL -b "ou=people,dc=example,dc=com" "uid=observer"
dn: uid=observer,ou=people,dc=example,dc=com
cn: Observer
createtimestamp: 20260617063635Z
entryuuid: 2a5b6bfb-becc-328f-8fd0-8f4e33efab8f
first_name: Observer
givenname: Observer
mail: observer@example.com
objectclass: inetOrgPerson
objectclass: posixAccount
objectclass: mailAccount
objectclass: person
uid: observer

I’ve carefully reviewed the various help pages on https://tinyauth.app/docs/getting-started/ (which are very Docker-focused), but unfortunately haven’t found a/the solution : what command(s) should I run to start tinyauth@127.0.0.1:3000 and allow mywebapp to be accessed after lldap authentication ?

regards, lacsaP.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions