Type Alias CognitoIdentityProviderConfig
CognitoIdentityProviderConfig:
| {
oidc?: never;
saml: { metadataUrl: string }
| { metadataXml: string };
}
| {
oidc: {
clientId: string;
clientSecret: string;
issuer: string;
scopes: string[];
};
saml?: never;
}
A SAML or OIDC IdP's configuration. The OIDC client secret goes to Cognito and nowhere else.