TinyauthTinyauth

Labels

Reference on the labels used by Tinyauth.

Tinyauth uses labels to manage access control for protected resources. Labels are key-value pairs that can be assigned to users and resources, allowing for flexible and granular access control. The full list of labels is available below.

Discovery

Tinyauth uses the app ID in labels and the request subdomain to match labels with the app. For example, a request to app1.example.com triggers Tinyauth to search for containers with the tinyauth.apps.app1.foo: bar label. To use the domain instead, add the following label:

tinyauth.apps.myapp.domain: myapp.example.com

Tinyauth will now use the domain to match labels instead of the app ID.

Full List

NameDescription
tinyauth.apps.[app].config.domainThe domain where the protected app is exposed at. Tinyauth will use this to identify the correct container.
tinyauth.apps.[app].users.allowA comma separated list of users that are allowed to access the app.
tinyauth.apps.[app].users.blockA comma separated list of users that are not allowed to access the app.
tinyauth.apps.[app].oauth.whitelistA comma separated list or a regex of email addresses that are allowed to access the app (coming from OAuth).
tinyauth.apps.[app].oauth.groupsA comma separated list of OAuth groups required by a user to access the app.
tinyauth.apps.[app].ip.allowA comma separated list of IP addresses or CIDRs that are allowed to access the app.
tinyauth.apps.[app].ip.blockA comma separated list of IP addresses or CIDRs that are not allowed to access the app.
tinyauth.apps.[app].ip.bypassA comma separated list of IP addresses or CIDRs in which authentication won't be required to access the app.
tinyauth.apps.[app].response.headersA comma separated list of headers that Tinyauth will include in its response (useful for authenticating to protected apps with tokens).
tinyauth.apps.[app].response.basicauth.usernameUsername used by Tinyauth to authenticate to a target app using basic authentication.
tinyauth.apps.[app].response.basicauth.passwordPassword used by Tinyauth to authenticate to a target app using basic authentication.
tinyauth.apps.[app].response.basicauth.passwordfileA path to a file containing the password used by Tinyauth to authenticate to a target app using basic authentication.
tinyauth.apps.[app].path.allowA regex of paths that do not need authentication.
tinyauth.apps.[app].path.blockA regex of paths that will require authentication (meaning that all other paths are allowed).

On this page