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개 답변
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
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠