mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 06:42:59 +00:00
account selection on expired token
This commit is contained in:
@@ -201,6 +201,7 @@ export async function GET(request: NextRequest) {
|
||||
sessionId: cookie?.id,
|
||||
sessionToken: cookie?.token,
|
||||
};
|
||||
try {
|
||||
const { callbackUrl } = await createCallback(server, {
|
||||
authRequestId,
|
||||
session,
|
||||
@@ -210,6 +211,10 @@ export async function GET(request: NextRequest) {
|
||||
} else {
|
||||
gotoAccounts();
|
||||
}
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
gotoAccounts();
|
||||
}
|
||||
} else {
|
||||
gotoAccounts();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user