Cognito idp sign in with custom challenge ?


Is a custom auth challenge (like amplify signinwithredirect) possible when doing federated sign in using an IDP like google or linkedin? (define, create, verify..)

I'm trying it, and when I try google sign in, authentication succeeds without lambda being triggered.

I would like to challenge custom MFA (TOTP) while using signinwithredirect (amplify or others...)

1 Answer

Cognito Hosted UI IdP Federated Login is aligned with OAuth2.0 spec. The MFA challenge shall be enabled at the IdP side, eg. google, in the case you described.

answered 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions