feat: enhance login and error handling (#423)
This commit is contained in:
parent
1f5b0cf5ef
commit
110e7ae61f
4 changed files with 61 additions and 8 deletions
|
@ -18,7 +18,6 @@ export default defineEventHandler(async (event) => {
|
|||
redirect_uri: getRedirectURI(server),
|
||||
response_type: 'code',
|
||||
})
|
||||
const url = `https://${server}/oauth/authorize?${query}`
|
||||
|
||||
await sendRedirect(event, url, 302)
|
||||
return `https://${server}/oauth/authorize?${query}`
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue