Invalid root services URL or access refused when creating a friend to Jira

Symptoms

When creating a friend to Jira from a ELM application, or any other OSLC compliant application, process can not complete due to a message saying Jira's root services is not valid or that access has been refused.

Conditions

A Single Sign-On plugin is installed on Jira (e.g. KantegaSSO or IWAAC Kerberos SSO).

Solution

Following Jira's URLs must be whitelisted on the Single Sign-On plugin installed in order to give them free access:

Cause

Above URLs are for services discovery and to allow OAuth authentication between applications, they are safe to be freely accessed and they must be in order to allow communication between Jira and the other OSLC compliant application.

Alternatives