I see login buttons in Jira iframe

Modified on Thu, 28 Nov at 1:35 PM

In 90% of cases, the authorization issue is resolved by following the instructions: The Allure sections display login buttons.However, if that didn't work for you, then check the following steps

Check if the Secure Cookie parameter is enabled
For integrations with Jira (DC/Cloud/Server), the Secure Cookie settings must be enabled in your instance configuration.


You can verify this by checking the relevant section in Dev Tools.

If the Secure field (4) is not checked, you need to review your instance settings and ensure that the parameter responsible for Secure Cookies is set to true.

K8s



Docker



If after following these steps the "Login" button is still displayed, the issue is likely with your Nginx configuration, which is blocking external authorization.

How to fix the external authorization error

To allow external authorization in Nginx, you need to add the following headers to the Nginx configuration


Access-Control-Allow-Headers: X-Custom-Header, Authorization


Explanation: These headers allow the client (e.g., a browser) to send specific data, such as authentication tokens or custom headers, to the server during cross-origin requests (CORS). Without these headers, the browser blocks the requests, which may cause authorization issues.

What you need to do:

  1. Ensure that these headers are added to the Nginx configuration on your server.
  2. Check that these settings are correctly configured, especially if you have a dedicated domain for external access to the system.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article