openfrontio / openfrontio/OpenFrontIO

Using an outdated login link shows no clear error message

Open
#4,210 2 comments 0 reactions 0 assignees View on GitHub
approved
Dominant language
TypeScript
Stars
2.7k
Forks
1.4k
Avg merge
17h 43m
Merged PRs (30d)
310

Description

**Describe the bug**
When using an outdated login link "Logging in" is showing with a loading spinner:

Image

After some seconds an error message pops up, that the login has failed, with no clear message stating why:

Image

In the network tab we can see, that it tried to authenticate against the api for 4 times before giving a response:

Image

**To Reproduce**
Steps to reproduce the behavior:

1. Create a login link
2. Wait for it to expire
3. Try to use the login link

**Expected behavior**
I expect to get a faster reaction for this case. The Token is clearly invalid and shouldnt become valid even after 4 tries.
A better error message would be good aswell, for example that the token is invalid. It kinda feels like a connection problem at the moment.

**Desktop:**

- OS: MacOS
- Browser Zen
- Version 31.12

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.