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
_index.zh-cn.md
adding-legal-pages.en-us.md
adding-legal-pages.zh-cn.md
backup-and-restore.en-us.md
backup-and-restore.zh-cn.md
cmd-embedded.en-us.md
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
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
email-setup.en-us.md
email-setup.zh-cn.md
environment-variables.en-us.md
environment-variables.zh-cn.md
external-renderers.en-us.md
external-renderers.zh-cn.md
fail2ban-setup.en-us.md
fail2ban-setup.zh-cn.md
git-lfs-support.en-us.md
git-lfs-support.zh-cn.md
https-support.en-us.md
https-support.zh-cn.md
logging-config.en-us.md
logging-config.zh-cn.md
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
reverse-proxies.en-us.md
reverse-proxies.zh-cn.md
search-engines-indexation.en-us.md
search-engines-indexation.zh-cn.md
signing.en-us.md
signing.zh-cn.md