We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c11dbc commit b2e167eCopy full SHA for b2e167e
1 file changed
server/api/auth/atproto.get.ts
@@ -76,12 +76,7 @@ export default defineEventHandler(async event => {
76
message: 'Handle not provided in query',
77
})
78
}
79
-
80
- const redirectUrl = await atclient.authorize(handle, {
81
- scope,
82
- prompt: create ? 'create' : undefined,
83
- })
84
- return redirectUrl
+ return "this api works"
85
} catch (error) {
86
const message = error instanceof Error ? error.message : 'Authentication failed.'
87
0 commit comments