SAML identity provider in AWS Amplify Angular Project

Viewed 19

I am developing an Angular application using AWS Amplify CLI with Cognito authentication and few API's. The application is using Amplify Angular UI library for implementing authentication and everything works as expected with Cognito user pool. The UI library and Amplify CLI works very well without much coding. Now I would like to use a custom SAML identity provider for authentication and after some research on the internet, I was able to configure the identify provider using Cognito console. The call back URL is also being invoked with the 'AUTH code' during a successful authentication (when tested using Hosted UI). However I am unable to find the steps to make the application accept the code and get the authentication token. The Amplify Angular UI library only seems to support social providers like amazon, apple, facebook and google and there are no ways by which I can invoke/show Cognito Hosted UI workflow.

Is the approach correct? How can we perform this integration?

Thanks

0 Answers
Related