简体   繁体   English

AWS Cognito-RESET_REQUIRED重定向不起作用

[英]AWS Cognito - RESET_REQUIRED redirect not working

Currently I'm using the default UI from cognito to authenticate my users. 目前,我正在使用cognito的默认UI对用户进行身份验证。 When i mark them as RESET_REQUIRED The redirect to forgot_password is not working. 当我将它们标记为RESET_REQUIRED时,重定向至forgot_password无效。

Here's the request and Response Header... 这是请求和响应头...

HTTP/1.1 302 Found
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Date: Tue, 05 Jun 2018 21:22:15 GMT
Expires: 0
Location: redirect:/forgotPassword?redirect_uri=https://domain.delist&response_type=code&client_id=4711&errorMessage=Password reset required for user due to security reasons.
Pragma: no-cache
Server: Server
Strict-Transport-Security: max-age=31536000 ; includeSubDomains
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
X-XSS-Protection: 1; mode=block
Content-Length: 0
Connection: keep-alive

Any Idea or do i miss somthing? 任何想法或我想念的东西吗?

我认为您的Location标头不正确-请尝试删除“重定向:”

Location: /forgotPassword?redirect_uri=https://domain.delist&response_type=code&client_id=4711&errorMessage=Password reset required for user due to security reasons.

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM