fix: 🐛 Fix broken auth consent flow
Some checks failed
CodeQL / Analyze (javascript) (push) Failing after 0s
Deploy to GitHub Pages / build (push) Failing after 0s
Deploy to GitHub Pages / deploy (push) Has been skipped
Docker / build (push) Failing after 0s
Mirror to Codeberg / Mirror (push) Failing after 0s

This commit is contained in:
Jesse Wierzbinski 2025-12-11 04:10:45 +01:00
parent 7ae35b2cf0
commit d01aa22477
No known key found for this signature in database
3 changed files with 11 additions and 13 deletions

View file

@ -112,7 +112,7 @@ export const useAuthStore = defineStore("auth", {
origin: URL,
): Promise<z.infer<typeof CredentialApplication>> {
const redirectUri = new URL(
`/callback?${new URLSearchParams({ domain: origin.host }).toString()}`,
`/callback/${origin.host}`,
useRequestURL().origin,
);