- 最新
- 最多得票
- 最多評論
Hello m1systems,
I understand that you are having difficulty getting your device to remember your credentials.
A probable reason for this issue is that you have not enabled remember device function
Please refer to this article and scroll down to the (Optional) Call UpdateDeviceStatus for detailed information:
https://aws.amazon.com/premiumsupport/knowledge-center/cognito-user-pool-remembered-devices/
The step you would want to complete would be the "If you choose User Opt In, then you must include an UpdateDeviceStatus API call."
If you select User Opt-In, you can remember devices only when your application's users opt to do so. When a user signs in with a new device, the response from the request to initiate tracking indicates whether the user should be prompted about remembering their device. You must create the user interface to prompt users. If the user opts to have the device remembered, the device status is updated with a 'remembered' state.
This documentation will explain how to complete the next task:
https://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-device-tracking.html#amazon-cognito-user-pools-setting-up-remembered-devices
You must also create the user interface to prompt users. If the user opts to have the device remembered, the device status is updated with a 'remembered' state. For your cookies to stay persistent, for hosted UI we don’t have mechanism to configure cookie settings but rather change default duration for access and ID token
Please let us know if you have any further questions. We are happy to assist you!
相關內容
- AWS 官方已更新 2 年前
- AWS 官方已更新 1 年前
So just to clarify there's no option to remember devices through the AWS hosted forms then?