aboutsummaryrefslogtreecommitdiff
path: root/backend/main.go
diff options
context:
space:
mode:
authorGuillermo Serrahima <dev@vylion.com>2026-03-12 11:14:54 +0100
committerGuillermo Serrahima <dev@vylion.com>2026-03-12 11:14:54 +0100
commit87f1d0fb7a22c18fa09ce584fa895e3b5b83c3c2 (patch)
treef8ae8cc69d372fc14207b6311d0b10d531e08c81 /backend/main.go
parentf5030ebe29e7391d2728d386ac50cbe60b82ab56 (diff)
downloadllostre-87f1d0fb7a22c18fa09ce584fa895e3b5b83c3c2.tar.xz
llostre-87f1d0fb7a22c18fa09ce584fa895e3b5b83c3c2.zip
Directly redirect to sign in page
Diffstat (limited to 'backend/main.go')
-rw-r--r--backend/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/main.go b/backend/main.go
index cf87d0f..6598266 100644
--- a/backend/main.go
+++ b/backend/main.go
@@ -105,7 +105,7 @@ func loginHandler(w http.ResponseWriter, r *http.Request) {
}
challenge := auth.GenerateCodeChallenge(verifier)
- authURL := auth.BuildAuthorizationURL(metadata, &config, state, challenge)
+ authURL := auth.BuildAuthorizationURL(metadata, &config, state, challenge, handle)
// redirect user to PDS
http.Redirect(w, r, authURL, http.StatusFound)