pulp / pulp/pulp_container

The `TOKEN_EXPIRATION_TIME` is not defined in `settings.py`

Open
#1,780 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue
Dominant language
Python
Stars
31
Forks
56
Avg merge
2d 22h
Merged PRs (30d)
22

Description

We should add TOKEN_EXPIRATION_TIME to settings.py and ensure it is easily discoverable.

I see only one occurrence of this setting being mentioned along the lines in the documentation: https://github.com/pulp/pulp_container/blob/1a8fe634dba25b6adacd17459da3be931e37ae74/docs/admin/learn/authentication.md?plain=1#L115

Inspired by https://github.com/pulp/pulp_container/issues/1592.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting settings.py and the authentication documentation linked in the issue, then locate the existing TOKEN_EXPIRATION_TIME usage. Define the setting in settings.py and make it discoverable alongside the documented authentication settings. Done means the setting is present and the documentation clearly points users to it.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
authentication, documentation
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.