remove the sign-up option from Cognito interface

0

Hi, I need help for the following scenario. I have a page that contains a form for sign-up to our service. I created and app that allows user to sign-up and correctly implemented the flow from registration to confirmation (i.e. the user enters the data in the form, receives an email from cognito to vrifiy his email and then can login into our service). However in the cognito UI for the sign-in I also have the button to allow the sign-up. I do not want this option to appear, since I want a new user to pass through our form. Is there way to remove the sign-up option from the UI interface?

3回答
1
  1. Go to your user pool in Cognito.
  2. Under General Settings, go to Policies.
  3. Select the option Only allow administrators to create users as shown in the screenshot below and Save Changes.Reference Screenshot
profile pictureAWS
回答済み 1年前
0

my apologies for not having made clear that I DO NEED to allow user to sign-in (but just in my home page, in my custom-built form where I call AWS functions). I just want either to 1-hide the sign-up link from the hosted UI OR 2-redirect the sign-up to my home page

Probably the second option is doable with a lambda?

回答済み 1年前
  • Hello, The above steps will help you to hide the sign-up button from the hosted UI provided by Cognito. Yes, we can achieve it via lambda to redirect the users to your homepage.

0

@Rajjat Kumar,

the above steps DOES NOT ALLOW self-sign up. As explained I want user to be able to self sign up in my custom form. If I follow the above steps the user cannot set his password! Can you suggest me the lambda, please?

回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ