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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南