Problem to solve
We want to allow tokens that don’t expire, as access to our GitLab server is restricted enough, and expiry seem to cause confusion and is mostly escalated to us = the group that maintains the installation.
So I looked at
and thought that would be a good idea to change.
Put when queried (with a GET request to http://localhost/api/v4/application/settings) the API doesn’t return that setting, and while it doesn’t complain when trying to change that setting (but it also doesn’t complain when I set ruler_of_the_world, so that doesn’t say much) it doesn’t return it afterwards either.
There is a setting (and it’s documented!) called require_personal_access_token_expiry that seems to control that. Is that what I can/should change?
Describe your question in as much detail as possible:
- What are you seeing, and how does that differ from what you expect to see?
- Consider including screenshots, error messages, and/or other helpful visuals
Steps to reproduce
Which troubleshooting steps have you already taken? Can you link to any docs or other resources so we know where you have been?
Configuration
Provide screenshots from the GitLab UI showing relevant configuration, if applicable.
On self-managed instances, add the relevant configuration settings or changes.
Versions
Please add an x whether options apply, and add the version information.
- Self-managed
-
GitLab.comSaaS - Dedicated
Versions
- GitLab (Web:
/helpor self-managed system informationsudo gitlab-rake gitlab:env:info):
Helpful resources
- Check the FAQ for helpful documentation, issues/bugs/feature proposals, and troubleshooting tips.
- Before opening a new topic, make sure to search for keywords in the forum search
- Check the GitLab project for existing issues. If you encounter a bug, please create a bug report issue.
- Review existing troubleshooting docs.
Thanks for taking the time to be thorough in your request, it really helps! ![]()