Skip to content

Commit 9b5499f

Browse files
committed
chore: signIn should return to where you left 🫡
1 parent 224dad5 commit 9b5499f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

apps/frontend/app/utils/auth.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ export function getSignInUrl({ query }: getSignInUrlParams = {}) {
77
const runtimeConfig = useRuntimeConfig()
88

99
return withQuery(`${runtimeConfig.public.backendUrl}/api/auth/login`, {
10+
path: useRequestURL().pathname,
1011
...query,
1112
})
1213
}

0 commit comments

Comments
 (0)