gitea/docs/content/administration
wxiaoguang bffbbf5470
Improve oauth2 client "preferred username field" logic and the error handling (#30622)
Follow #30454
And fix #24957

When using "preferred_username", if no such field,
`extractUserNameFromOAuth2` (old `getUserName`) shouldn't return an
error. All other USERNAME options do not return such error.

And fine tune some logic and error messages, make code more stable and
more friendly to end users.
2024-04-25 11:22:32 +00:00
..
_index.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
_index.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
adding-legal-pages.en-us.md Fix documents for "custom/public/assets/" (#28465) 2023-12-14 08:52:16 +00:00
adding-legal-pages.zh-cn.md Fix documents for "custom/public/assets/" (#28465) 2023-12-14 08:52:16 +00:00
backup-and-restore.en-us.md Improve Documentation for Restoration from backup (#29321) 2024-02-25 23:35:52 +00:00
backup-and-restore.zh-cn.md Update some translations and fix markdown formatting (#29099) 2024-02-11 19:03:49 +02:00
cmd-embedded.en-us.md Enable markdownlint `no-duplicate-header` (#27500) 2023-10-07 15:30:21 +02:00
cmd-embedded.zh-cn.md move some scripts from 'build' to 'tools' directory, misc refactors (#29844) 2024-03-17 23:12:36 +01:00
command-line.en-us.md Improve "must-change-password" logic and document (#30472) 2024-04-14 17:22:14 +00:00
command-line.zh-cn.md Expanded minimum RSA Keylength to 3072 (#26604) 2023-08-28 00:53:16 +00:00
config-cheat-sheet.en-us.md Improve oauth2 client "preferred username field" logic and the error handling (#30622) 2024-04-25 11:22:32 +00:00
config-cheat-sheet.zh-cn.md Initial support for colorblindness-friendly themes (#30625) 2024-04-24 00:18:41 +08:00
customizing-gitea.en-us.md Initial support for colorblindness-friendly themes (#30625) 2024-04-24 00:18:41 +08:00
customizing-gitea.zh-cn.md Fix documents for "custom/public/assets/" (#28465) 2023-12-14 08:52:16 +00:00
email-setup.en-us.md Docs: Replace deprecated IS_TLS_ENABLED mailer setting in email setup (#28205) 2023-11-25 10:16:29 +08:00
email-setup.zh-cn.md Fix links in docs (#28234) 2023-11-27 00:34:40 -05:00
environment-variables.en-us.md In administration documentation about environment variables, point to those for the Go runtime instead of Go compiler (#28859) 2024-01-20 10:12:20 +08:00
environment-variables.zh-cn.md Update golang links to use https (#28980) 2024-01-30 03:11:11 +02:00
external-renderers.en-us.md Update documents to fix some links (#26885) 2023-09-03 18:45:20 +00:00
external-renderers.zh-cn.md Fix documents for "custom/public/assets/" (#28465) 2023-12-14 08:52:16 +00:00
fail2ban-setup.en-us.md Use docs.gitea.com instead of docs.gitea.io (#26739) 2023-08-27 11:59:12 +00:00
fail2ban-setup.zh-cn.md Use docs.gitea.com instead of docs.gitea.io (#26739) 2023-08-27 11:59:12 +00:00
git-lfs-support.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
git-lfs-support.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
https-support.en-us.md fix typo (#29212) 2024-02-17 12:01:54 +01:00
https-support.zh-cn.md Fix links in docs (#28302) 2023-12-01 19:42:42 +08:00
logging-config.en-us.md Clarify the logger's MODE config option (#26267) 2023-08-01 18:28:23 +00:00
logging-config.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
mail-templates.en-us.md remove repetitive words (#29695) 2024-03-11 09:24:23 +00:00
mail-templates.zh-cn.md Remove unnecessary SanitizeHTML from code (#29575) 2024-03-04 12:02:45 +00:00
repo-indexer.en-us.md Support repo code search without setting up an indexer (#29998) 2024-03-24 17:05:00 +01:00
repo-indexer.zh-cn.md Use docs.gitea.com instead of docs.gitea.io (#26739) 2023-08-27 11:59:12 +00:00
reverse-proxies.en-us.md Add docs section for sub-paths with the container registry (#27505) 2023-10-09 12:45:41 +08:00
reverse-proxies.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
search-engines-indexation.en-us.md Fix the robots.txt path 2023-10-11 18:01:52 +08:00
search-engines-indexation.zh-cn.md Fix the robots.txt path 2023-10-11 18:01:52 +08:00
signing.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
signing.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00