How to set up Social Login (SSO) for Azure #6306
Labels
duplicate
An issue or a feature-request that is a duplicate of an existing one
feature-request
Request a new feature
Hi!
I am new using Amplify and I am having problems setting Azure as one social provider.
I already set everything in AWS Cognito (using an OIDC provider and calling the identity provider 'Microsoft') and I am able to see and use the button in the Hosted UI. Now I am trying to include that button in my React App.
I am currently wrapping my App component using the Authenticator like this
Also I am setting the aws config file in a way that includes
aws_cognito_social_providers: ["google"]
After reading the documentation I am understanding that the Authenticator only supports Google, Apple, Github and Facebook, so I get that adding 'microsoft' does not add the button automatically (I already tried this)
So my first question is: Is it possible to add the button while still using Authenticator?
Considering the potential scenario in which this is not possible, I have tried the following:
From the documentation I get that this is another way to set up Amplify. However, is not clear how can I customise this further to include the button that I need to allow Azure Sign On. Is not clear how to integrate that code with what you suggest later with this code:
Why are we not wrapping the app with
withAuthenticator
anymore?The text was updated successfully, but these errors were encountered: