这是indexloc提供的服务,不要输入任何密码
Skip to content

Token expiration #4

@shkomg

Description

@shkomg

Hi David,

how do you handle token expiration?

As I know Cognito token expires in 1 hr. So if the app stays idle for 1+ hrs on protected route (while user is signed in and on restricted page) and then user clicks something does it renews token automatically & then performs the request?

For example if request goes to AWS Gateway API which checks user over Cognito - error going to be returned if token is expired.

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions