You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/web_src/js/features
Giteabot 037a3f0d8c
Show the mismatched ROOT_URL warning on the sign-in page if OAuth2 is enabled (#25947) (#25972)
Backport #25947 by @wolfogre

Since OAuth2 will callback the root URL, if the user starts signing in
from a wrong host, Gitea will return 500 because it cannot find the
session.

<details>
<summary>How to reproduce</summary>

<img width="901" alt="image"
src="https://github.com/go-gitea/gitea/assets/9418365/2c2e255c-e13e-4a11-9be7-b226bee54920">

<img width="1014" alt="image"
src="https://github.com/go-gitea/gitea/assets/9418365/b31cfcf6-a320-483d-9ce5-ba8562f065e1">

</details>


So show the mismatched ROOT_URL warning on the sign-in page if OAuth2 is
enabled.

<img width="1015" alt="image"
src="https://github.com/go-gitea/gitea/assets/9418365/99e80b17-c790-49a3-bbf2-2bd9396a7daa">

Co-authored-by: Jason Song <i@wolfogre.com>
2 years ago
..
admin Show the mismatched ROOT_URL warning on the sign-in page if OAuth2 is enabled (#25947) (#25972) 2 years ago
comp Update JS dependencies, remove space after emoji completion (#25266) (#25352) 2 years ago
captcha.js
citation.js
clipboard.js
codeeditor.js Always pass 6-digit hex color to monaco (#25780) (#25782) 2 years ago
colorpicker.js
common-global.js Show the mismatched ROOT_URL warning on the sign-in page if OAuth2 is enabled (#25947) (#25972) 2 years ago
common-issue-list.js
common-issue-list.test.js
common-organization.js
contextpopup.js Fix issue and commit status popup padding (#25254) (#25288) 2 years ago
copycontent.js Add two eslint plugins (#24776) 2 years ago
dropzone.js
emoji.js
eventsource.sharedworker.js
file-fold.js
heatmap.js
imagediff.js Prevent duplicate image loading (#25675) (#25684) 2 years ago
install.js
notification.js Fix notification list bugs (#25781) (#25787) 2 years ago
org-team.js Add status indicator on main home screen for each repo (#24638) 2 years ago
pull-view-file.js Improve accessibility when (re-)viewing files (#24817) 2 years ago
repo-branch.js
repo-code.js Fix mobile navbar and misc cleanups (#25134) (#25169) 2 years ago
repo-code.test.js
repo-commit.js Fix issue and commit status popup padding (#25254) (#25288) 2 years ago
repo-common.js
repo-diff-filetree.js
repo-diff.js Fix show more for image on diff page (#25672) (#25673) 2 years ago
repo-editor.js
repo-findfile.js
repo-findfile.test.js
repo-graph.js
repo-home.js
repo-issue-content.js Clarify "text-align" CSS helpers, fix clone button padding (#25763) (#25764) 2 years ago
repo-issue-list.js Add the ability to pin Issues (#24406) 2 years ago
repo-issue-pr-form.js
repo-issue.js Fix label list divider (#25312) (#25372) 2 years ago
repo-legacy.js Improve and fix bugs surrounding reactions (#24760) 2 years ago
repo-migrate.js Make repo migration cancelable and fix various bugs (#24605) 2 years ago
repo-migration.js
repo-projects.js Always pass 6-digit hex color to monaco (#25780) (#25782) 2 years ago
repo-release.js
repo-settings.js Support for status check pattern (#24633) 2 years ago
repo-template.js Add status indicator on main home screen for each repo (#24638) 2 years ago
repo-unicode-escape.js Improve accessibility when (re-)viewing files (#24817) 2 years ago
repo-wiki.js Improve wiki sidebar and TOC (#25460) (#25477) 2 years ago
sshkey-helper.js
stopwatch.js
tablesort.js
tribute.js
user-auth-webauthn.js Fix webauthn regression and improve code (#25113) 2 years ago
user-auth.js Show the mismatched ROOT_URL warning on the sign-in page if OAuth2 is enabled (#25947) (#25972) 2 years ago
user-settings.js