Custom Amplify & Cognito Authentication

0

I would like to create a web app that authenticates just as AWS does for console login.

  1. A non-root user would first have to enter an account number (I can verify that the number entered is legit).

  1. The non-root user would then enter an email and password combination. That alone is ok, but I don't see how to confirm those credential using Amplify in combination with the account number. I only want the user confirmed if those credentials are paired with the account number.

  1. For root users, I would want to authenticate them only if the email and password can be confirmed with, presumably, a root user flag.

Is there an Amplify API that allows email, password, and account parameters for authentication?

Can you provide any guidance on how to authenticate root users based on email, password, and root user flag? Thanks.

1 Answer
0

I bet that the answer is through implementing a multi-tenant solution with custom attributes. My only lingering question is whether I should have a separate user group for each tenant. Is that advisable?

AWS
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions