bcgov / bcgov/entity

Need to handle token timeout after 24h

Open
#4,096 0 comments 0 reactions 5 assignees Claimed by @sumesh-aot View on GitHub
ENTITY - DO NOT USE STORY
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

### Description

(This needs to be approved by the business.)

* As a logged-in user
* I want to remain logged in while I'm active
AND/OR
* I want to be alerted that my token will expire soon
* so that my token doesn't expire while I'm working on something and I lose any changes I've made.

Note: any changes done for this story may require other UI teams (PPR? Names?) to implement some changes.

### Acceptance Criteria

**Scenario 1: token refresh**
* GIVEN I am logged in
* WHEN I am active within some period
* THEN I want to remain logged in (ie, my session to not expire).

**Scenario 2: auto logout**
* GIVEN I am logged in
* WHEN I am inactive for some period
* THEN I want to get automatically logged out for security purposes.

**Scenario 3: expiry warning**
* GIVEN I am logged in
* WHEN if my session cannot be refreshed past a certain point
* THEN I want to know when it will expire so I can save my work and login again.

### Dependencies
**What is the impact of this dependency? (If so, link dependency in the ticket, make it visible in a team´s backlog)**
* Do you know a possible contact person to reach out (from the other team)?

### Validation Rules? (If yes, list here)
* ...

### Design
@xxx - please link the Design here

----

**Link to DoR for a US/ Feature**
https://github.com/bcgov/entity/blob/master/.github/ISSUE_TEMPLATE/DoR%20-%20Relationships.md
https://github.com/bcgov/entity/blob/master/.github/ISSUE_TEMPLATE/DoR%20-%20Entity.md

**Link to the DoD for a US/ Feature**
https://github.com/bcgov/entity/blob/master/.github/ISSUE_TEMPLATE/DoD%20-%20Relationships.md
https://github.com/bcgov/entity/blob/master/.github/ISSUE_TEMPLATE/DoD%20-%20Entity.md

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.