IAM Users Login
Is this related to a new or existing framework?
React, Angular, Vue, Web Components
Is this related to a new or existing API?
Authentication
Is this related to another service?
Cognito, IAM
Describe the feature you'd like to request
- A user (with an IAM identity) visits our application's admin login page.
- They are authenticated using their IAM credentials.
- Upon successful IAM authentication, they are granted access to our application through our Cognito User Pool, receiving the appropriate tokens to interact with our Amplify backend resources.
Describe the solution you'd like
- Provide IAM User Login as we provide for Amplify Studio Gen1
Describe alternatives you've considered
- Configure IAM Identity Center for my Amazon Cognito User pool
- Configure SAML provider as per
Additional context
No response
Is this something that you'd be interested in working on?
- [ ] 👋 I may be able to implement this feature request
- [ ] ⚠️ This feature might incur a breaking change
Hello @shivennn , thank you for creating this feature request. We will evaluate internally and provide an update.
Hello @shivennn ,
Currently, Amplify does not support IAM authentication out of the box. The IAM authentication you are looking for, similar to Amplify Studio, can be accomplished with custom logic using Cognito Lambda triggers. Essentially it's using AWS Lambda functions to modify the authentication behavior of your user pool. Here's more AWS documentation about Lambda triggers: https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-working-with-lambda-triggers.html.