matrix-org / matrix-org/matrix-hookshot

Give the user a helpful error if they need to relogin

Open
#972 0 comments 0 reactions 0 assignees View on GitHub
Jira T-Enhancement
Dominant language
TypeScript
Stars
450
Forks
95
Avg merge
1d 2h
Merged PRs (30d)
23

Description

Currently, when your session has expired you just get a generic error message:

![screenshot_2024-09-17T09-13-59Z](https://github.com/user-attachments/assets/b06af581-524c-49ff-965f-34db9876b90a)

---

![screenshot_2024-09-17T09-12-48Z](https://github.com/user-attachments/assets/2f9b3c4d-1b9f-476d-bf52-9b9848c43844)

In my case, it's been a while since I last used the Jira-Hookshot integration, and my refresh token had expired:

![screenshot_2024-09-17T09-27-33Z](https://github.com/user-attachments/assets/cd780193-3d2a-4e99-a4c6-ec2c5848cfdc)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the expired-session case in the Jira-Hookshot integration and trace where the generic error is surfaced. Done means an expired refresh token produces a helpful message that tells the user they need to log in again.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
authentication
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.