We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5de18a3 commit 85b7aa1Copy full SHA for 85b7aa1
1 file changed
server/routes/auth/logout/callback.get.ts
@@ -9,9 +9,9 @@ import { parseCookies } from 'h3';
9
* If validation is successful, it clears the user's session cookies and
10
* redirects to a success page. Otherwise, it redirects to an error page.
11
*
12
- * @param request - The incoming Next.js request object, which contains the
+ * @param event - The incoming H3 event object, which contains the
13
* URL and its search parameters, including the `state` from the IdP.
14
- * @returns A NextResponse object that either redirects the user to a success
+ * @returns A redirect response that either redirects the user to a success
15
* or error page. Upon success, it includes headers to delete session cookies.
16
*/
17
export default defineEventHandler(async (event: H3Event) => {
0 commit comments