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 Respuestas
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
respondido hace un año
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?

respondido hace un año
  • 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?

respondido hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas