Skip to content

Commit 5c11dbc

Browse files
committed
draft: check redirect url
1 parent 19d1849 commit 5c11dbc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server/api/auth/atproto.get.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export default defineEventHandler(async event => {
8181
scope,
8282
prompt: create ? 'create' : undefined,
8383
})
84-
return sendRedirect(event, redirectUrl.toString())
84+
return redirectUrl
8585
} catch (error) {
8686
const message = error instanceof Error ? error.message : 'Authentication failed.'
8787

0 commit comments

Comments
 (0)