Skip to content

Commit 7fdee05

Browse files
committed
chore: Update redirect URL for GitHub authentication
1 parent a22fdbf commit 7fdee05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/frontendmu-nuxt/auth-utils/useAuth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ export default function useAuth(client: DirectusClient<any> & AuthenticationClie
227227
}
228228
else if (provider === 'github') {
229229
const currentPage = new URL(window.location.origin)
230-
return `${DIRECTUS_URL()}/auth/login/github?redirect=${currentPage}redirect`
230+
return `${DIRECTUS_URL()}/auth/login/github?redirect_uri=${currentPage}redirect`
231231
}
232232

233233
console.log('Provider not found')

0 commit comments

Comments
 (0)