goauthentik / goauthentik/authentik

App-password expiry should follow Default token duration

Open
#25,274 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
25.6k
Forks
2k
Avg merge
1d 2h
Merged PRs (30d)
659

Description

## What

app-password expiry should use (or be allowed to exceed) the admin “Default token duration”, not a hardcoded ~30 minutes.

## Want

- App-password expiry should use (or be allowed to exceed) the admin “Default token duration”, not a hardcoded ~30 minutes

## Ideas this came from

- [#9507 Create app password with Default token duration expiring time like token](https://github.com/goauthentik/authentik/issues/9507) — No When a user create his App password, the default Expiring time is half hour later. Could you please make i the Default token duration later time that admin s
- [#12034 Allow to increase expiry date for app password](https://github.com/goauthentik/authentik/issues/12034) — Currently there is no way to increase default app password expiry date (30 minutes since creation), there is only option to increase expiry for token passwords.

Contributor guide

Open the contributing guide

Research direction

Start by locating the app-password expiry logic and the implementation of the admin “Default token duration”; confirm where the current roughly 30-minute limit is applied. Done means app-password expiry uses, or can exceed, that configured duration, with the relevant behavior covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
authentication, security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.