Skip to content

Web IDE OAuth: Handle relative url root case

MRs:

Description

QA spec for relative urls are failing for Web IDE when the web_ide_oauth flag is enabled by default (see slack thread).

GitLab self-managed instance can be hosted under a specific path. We need to take this into consideration when building URL's in the FE by concatenating location.origin.

Acceptance Criteria

  • Handle this case in all instances where we concatenate Web IDE OAuth paths with location.origin.
Edited by Cindy Halim