Cognito and General Azure/Live ID Signin

0

So we are leveraging cognito for some auth stuff, however we would like to use GMail, Facebook, etc...but also would like to offer general Azure and Live ID via OIDC or something similar...anyone else done this? I have seen a few sites have that as an option however dont know if they are powered by cognito

I got the tenant to do the OIDC without too much of an issue and the /common identity, but when I try an identity outside the tenant it pushes back...

anyone done this? am I missing something on the back end to broker the entraID/LiveID stuff? the app I created was flagged Entra and Live

kf4ape
asked 2 months ago83 views
1 Answer
0

To enable authentication with external identity providers like Google, Facebook, Azure, and Live ID in Amazon Cognito, you can use the OIDC (OpenID Connect) protocol. Here's how you can set it up:

  • Create Identity Providers in Cognito: In the Amazon Cognito console, create identity providers for each external provider you want to support (Google, Facebook, Azure, Live ID). Configure them with the appropriate client IDs, secrets, and scopes.
  • Enable OIDC for Azure and Live ID: For Azure and Live ID, ensure that you're using the correct OIDC endpoints and configurations. You might need to specify the specific OIDC endpoints provided by Azure and Live ID when setting up the identity providers in Cognito.
  • Enable Identity Pool: Create or update an identity pool in Cognito to include the identity providers you've configured. Specify the allowed OIDC providers and map attributes between providers as needed.
  • Handle Authentication in Your App: In your application, use the appropriate SDKs or libraries to initiate authentication with Cognito. Depending on the provider, you might need to handle the authentication flow differently (e.g., using web redirects for OAuth providers like Google and Facebook).
  • Test Authentication: Test the authentication flow with each external provider to ensure that users can successfully authenticate and obtain tokens from Cognito.
profile picture
EXPERT
answered 2 months ago
  • Giovanni, thank you for the copy and paste answer however this did not answer the question

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