npm install -g @aws-amplify/cli
)Next: Permissions
. Use de policies already selected. Click on Next: Tags
-> Next: Review
-> Create User
.My Apps
, Create App
.Create App ID
.Setting
-> Basic
and copy your app credentials.OAuth consent screen
.Application name
for now and click on Save.amplify update auth
if you already have a project configured & want to now add Social loginamplify push
you should see a success message & the OAuth Endpoint should also be logged out to the console:oauth
-> domain
key.Settings
-> Basic
. Scroll all the way down and click on + Add Platform
./oauth2/idpresponse
appended into Site URL:Products
and then Set up from Facebook Login
.Web
./oauth2/idpresponse
. If you're prompted for the site URL, also use this endpoint (i.e. https://amplifyauthe9a9d15d-e9a9d15d-local.auth.us-east-1.amazoncognito.com/oauth2/idpresponse):​On
switch at the top of the page.Switch mode
.OAuth consent screen
. Add your OAuth Endpoint
domain into Authorized domains
and click on Save
./oauth2/idpresponse
into Authorized redirect URIs.Save
.src/index.js
:App.js
and update the code to the following: