79538406

Date: 2025-03-27 09:37:14
Score: 1
Natty:
Report link

I am using AWS Cognito for authentication in my iOS app (Swift). I noticed that the token used for authentication is the one from the initial login of the app session. However, after I kill the app and reopen it, the token updates to a new one.

Expected Behavior:

The token should be updated immediately after login, without needing to restart the app.

Current Behavior:

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Nguyễn Đức Thành