Everything works. Minor adjustments on frontend and backend for the new API.

This commit is contained in:
Leo Vasanko
2025-08-02 07:41:42 -06:00
parent a987f47988
commit 30ab73d625
9 changed files with 43 additions and 391 deletions

View File

@@ -1,6 +1,5 @@
(auth) {
# Forward /auth to the authentication service
redir /auth /auth/ 302
# Forward /auth/ to the authentication service
@auth path /auth/*
handle @auth {
reverse_proxy localhost:4401
@@ -9,7 +8,7 @@
# Check for authentication
forward_auth localhost:4401 {
uri /auth/forward-auth
copy_headers x-auth-user-id
copy_headers x-auth*
}
{block}
}