Disable hosted UI

0

Is there a way to disable the hosted UI? We have built our own login/registration forms and I would like to disable Cognito's hosted forms to prevent access to them.

질문됨 6년 전4553회 조회
4개 답변
0

I believe you can just delete the userpool domain...then the hosted ui is gone. If you have verification enabled it must be set to 'code' (not 'link') as the link points at that domain and will prevent user signup if the domain is not set.

redec
답변함 6년 전
0

Have you figured out if/how to do this? I have been unable to figure out/understand how to use the Cognito Auth API without being redirected to the Cognito Hosted UI.

Thanks,
Eric

benze
답변함 6년 전
0

Here is how to use the token endpoints without having to use the hosted UI. https://forums.aws.amazon.com/message.jspa?messageID=832873#832873
https://stackoverflow.com/questions/49012091/aws-cognito-authorization-code-grant-flow-without-using-the-hosted-ui

But the hosted UI will still be active which is my issue.

Edited by: CognitoUser on Mar 16, 2018 5:25 AM

답변함 6년 전
0

Hi,

I can understand why you might not want the hosted UI to be even available, but that's not possible today if you want to use the OAuth2.0 flows.

Is the issue that you don't want users to sign up or sign in directly with a username/email and password using the hosted UI, but you want to only allow that through your UI? If so, you can uncheck Cognito User Pool from the Enable Identity Providers section of the App client settings (under App integration) in the Cognito console. If Cognito User Pools is unchecked, a user may still see the federated options if they find their way to the hosted UI, but they can't sign in or sign up directly in the User Pool with username/email and password.

I hope that helps.
-Tim

AWS
답변함 6년 전

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

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

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

관련 콘텐츠