I am planning to use AWS Cognito and Cognito federated Identities.
I two flow to the app:
User from both flows must have access to other services (Gateway, DynamoDB, Lambda) with an only small difference for Authenticated user.
I am not able to find any good examples for using Cognito Federated Identities for Unauthenticated Identities and how to configure them.
I would be of great help if anyone can provide info on this.
Thanks in advance!!
Have you looked at AWS Amplify? It makes it really easy to do exactly what you just said. There are also some videos on YouTube I can recommend.
Be warned that it’s still early days for the project so things may change quickly. Also, while Mobile Hub makes it really easy to set everything up you may need to provision resources independently. For example: I had to setup Cognito User Pool and Federated Identity manually through the console to get email logins without usernames workings.
I will have a look at it. Thanks for the links.
Also, I am still looking into the Cognito federated identity examples for my case as you mentioned AWS amplify is still in early days.
I used this project/page as a guide in doing that exact thing a couple months ago: https://serverless-stack.com/
I didn’t end up completely testing the federated identity part, since i didn’t have a good provider and the requirement went away (beyond User Pools)… but in starting to test it, i did make a developer account at salesforce.com to test as an identity provider.