Fix Web IDE Oauth domain mismatch screen

Issue Web IDE incorrectly displays OAuth domain misma... (#496438 - closed)

What does this MR do and why?

It fixes a bug in the Web IDE Oauth domain mismatch screen. This screen appears when the Web Browser URL' domain is different from the domain registered in the Web IDE's instance-wide OAuth application. This screen shouldn't appear when the difference between the two domains is based on case-sensitivity because domain names are not case sensitive.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
domain_mismatch_error.png after.png

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Open the Web IDE's instance-wide OAuth application in the Admin page: https://gdk.test:3443/admin/applications
  2. Rewrite the domain name in the redirect URI so it is all uppercase.
  3. On master, the Web IDE will display the domain mismatch UI seen in the screenshot above.
  4. On this branch, the Web IDE should open without any issues.
Edited by Enrique Alcántara

Merge request reports

Loading