find sessions for loginHint, send to select account

This commit is contained in:
peintnermax
2023-08-29 14:43:51 +02:00
parent 8056c81161
commit 338c28cd88
6 changed files with 120 additions and 34 deletions

View File

@@ -248,13 +248,11 @@ export async function getAuthRequest(
export async function createCallback(
server: ZitadelServer,
{ authRequestId }: CreateCallbackRequest
req: CreateCallbackRequest
): Promise<CreateCallbackResponse> {
const oidcService = oidc.getOidc(server);
return oidcService.createCallback({
authRequestId,
});
return oidcService.createCallback(req);
}
export async function verifyEmail(