Skip to content

Commit 8952dea

Browse files
committed
feat: add warning for container names and subdomains when using acls
1 parent 7d3d62d commit 8952dea

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

docs/guides/access-controls.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,8 @@ whoami:
4444
4545
In this example, only `user1` will have access with simple username/password authentication and only `user2@example.com` will be able to access the app with OAuth. If either `user2` or `user1@example.com` try to access the app, they will be redirected to an unauthorized screen.
4646

47+
::: warning
48+
In order for the access controls to work the app must have the same container name as the subdomain it is exposed at e.g. container name should be `hello` and app should be exposed at `hello.example.com`. Using a different subdomain will **_not_** work.
49+
:::
50+
4751
That's it! You just configured access controls in tinyauth!

0 commit comments

Comments
 (0)