authgear / authgear/authgear-server

No validation error for short refresh token lifetime

Open
#3,343 0 comments 0 reactions 0 assignees View on GitHub
bug/trivial
Dominant language
Go
Stars
2k
Forks
125
Avg merge
2d 17h
Merged PRs (30d)
32

Description

**Describe the bug**
No validation error for short refresh token lifetime

**Authgear Version**
- 2023-09-05

**To Reproduce**
Steps to reproduce the behavior:
1. Go to 'Applications'
2. Click on a random application
3. Set the refresh token lifetime to 10
4. Click on save

**Expected behavior**
Expect to see validation error if the value is not valid

**Screenshots**

https://github.com/authgear/authgear-server/assets/63200569/497ac628-f157-446d-a9c4-28790de7d29f

**Client Env (if applicable, please complete the following information):**
- Device: Macbook
- OS: macOS
- Browser chrome
- Browser Version 116.0.5845.140

Contributor guide

Open the contributing guide

Research direction

Start in Applications by reproducing the save flow with a refresh token lifetime of 10, then trace where the value is validated. Done means an invalid short lifetime is rejected with a visible validation error; the issue does not name a file or test to run.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.