mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 08:23:16 +00:00
undefined context as instance
This commit is contained in:
@@ -140,7 +140,7 @@ export async function GET(request: NextRequest) {
|
|||||||
idpId = matched?.[1] ?? "";
|
idpId = matched?.[1] ?? "";
|
||||||
|
|
||||||
const identityProviders = await getActiveIdentityProviders(
|
const identityProviders = await getActiveIdentityProviders(
|
||||||
organization,
|
organization ? organization : undefined,
|
||||||
).then((resp) => {
|
).then((resp) => {
|
||||||
return resp.identityProviders;
|
return resp.identityProviders;
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -436,7 +436,7 @@ export async function verifyU2FRegistration(
|
|||||||
return userService.verifyU2FRegistration(request, {});
|
return userService.verifyU2FRegistration(request, {});
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function getActiveIdentityProviders(orgId: string) {
|
export async function getActiveIdentityProviders(orgId?: string) {
|
||||||
return settingsService.getActiveIdentityProviders(
|
return settingsService.getActiveIdentityProviders(
|
||||||
{ ctx: makeReqCtx(orgId) },
|
{ ctx: makeReqCtx(orgId) },
|
||||||
{},
|
{},
|
||||||
|
|||||||
Reference in New Issue
Block a user