Change logic of oauth_authorization_path for GitLab Jira App
What does this MR do and why?
Based on the JiraGitLab for Jira Cloud app feedback issue and #413652 (comment 1425545056), we had a problem with oauth_authorization_path
for self-managed installation with relative_url_root
configured.
We're removing prefix in case when relative_url_root
is presented.
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
N/A
How to set up and validate locally
- Update your
gdk.yml
file, and configurerelative_url_root
value. e.g.:relative_url_root: '/gitlab'
- Run
gdk reconfigure
- Validate that relative URL is successfully up by checking some routes
- Use Jira Connect Test Tool to validate changes locally
Edited by Bojan Marjanovic