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 Answers
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
answered a year ago
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?

answered a year ago
  • 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?

answered a year 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