Fix Jira app can only load public namespaces
What does this MR do and why?
This fixes a bug that allowed the GitLab for Jira app only to load public namespaces.
The request that fetches the namespaces didn't contain the authorization header. This MR is based on @justin_ho's proposed solution.
Screenshots or screen recordings
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #388152 (closed)
Edited by Andy Schoenen