amplify-backend icon indicating copy to clipboard operation
amplify-backend copied to clipboard

IAM Users Login

Open shivennn opened this issue 4 months ago • 2 comments

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

  1. A user (with an IAM identity) visits our application's admin login page.
  2. They are authenticated using their IAM credentials.
  3. 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

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

shivennn avatar Jul 28 '25 08:07 shivennn

Hello @shivennn , thank you for creating this feature request. We will evaluate internally and provide an update.

Simone319 avatar Jul 28 '25 13:07 Simone319

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.

Simone319 avatar Jul 30 '25 12:07 Simone319