mirror of
https://github.com/versia-pub/frontend.git
synced 2026-03-13 03:29:16 +01:00
fix: 🐛 Fix broken auth consent flow
Some checks failed
Some checks failed
This commit is contained in:
parent
7ae35b2cf0
commit
d01aa22477
3 changed files with 11 additions and 13 deletions
|
|
@ -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,
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue