Federated Login for custom UI for Cognito user pool

2

Hi, Thanks for having a look on my query. I am going through the AWS documents to understand the implementation of federated identities login through user pool. I have a custom UI as I don't intend to use the Cognito build hosted Web UI. I am still not sure if Cognito allows hooking a custom UI to allow logins from third party IDPs and add users to user pool along with copying some attributes. Any pointers in this direction would be appreciated !

  • I would also appreciate a pointer in the right direction regarding the same issue.

    I'd like to add that I'm appalled bythe crappiness of the cognito social login hosted UI. For example apparently it still can't be localized / translated even after many years of customers asking for this simple feature.

    How can AWS afford to ignore the majority on their customers like this?

1개 답변
1

Hello, Yes there is a way to do this.

You can develop your own web client using Amplify Authentication module

Please see the following links as a reference

https://aws-amplify.github.io/docs/js/authentication

https://blog.kylegalbraith.com/2018/11/29/how-to-easily-customize-the-aws-amplify-authentication-ui/

https://spin.atomicobject.com/2021/11/02/bypass-cognito-hosted-ui/

You can also use Cognito as a service provider and have your IDP serve a custom UI. In this scenario Amazon Cognito will redirect the user to your IDP. Please see the following URL

https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-SAML-session-initiation.html. You can configure your federation to be SP initiated (Service Provider initiated) inside your federation product.

AWS
Gaurav
답변함 일 년 전
profile picture
전문가
검토됨 4달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠