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
답변함 일 년 전
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?

답변함 일 년 전
  • 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?

답변함 일 년 전

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

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

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

관련 콘텐츠