Connect Atlassian Guard
Setting up Oktul eID SSO as the SAML identity provider of an Atlassian Guard directory, with the values each side needs and the policies around them.
Atlassian Guard sends the logins of your verified domain to the app as SAML requests, and accepts the app’s signed answer. Three values go from the app into Guard, and two come back.
Do this after the break-glass admins are in place.
The app’s Atlassian Guard tab has two numbered parts, 1. Enter these in Atlassian Guard and 2. Copy back what Guard shows, and under them Replace the signing certificate. Until the two values of part 2 are saved, the tab says Not set up.
What you need
- Atlassian Guard Standard or Enterprise on the organisation
- A verified domain for your users’ email addresses, under Directory, Domains in Atlassian Administration
- An organization admin for Guard, and a Jira admin for the app’s admin page
Atlassian’s own guide is configure SAML single sign-on with an identity provider (opens in a new tab).
1. Enter the app’s values in Guard
- In Atlassian Administration, open Security, then Identity providers
Add an identity provider directory of the type Other provider, or open the one you have.
- Select Set up SAML single sign-on
- Copy the three values from step 1 of the app's Atlassian Guard tab
Each is a block you select and copy. Copy the certificate whole, with its BEGIN and END lines.
| In the app | In Guard |
|---|---|
| Identity provider Entity ID | Identity provider Entity ID |
| Identity provider SSO URL | Identity provider SSO URL |
| Public x509 certificate | Public x509 Certificate |
The Entity ID is the address of this installation, and the SSO URL is the same address ending in
/sso. The same address ending in /metadata serves the three values as a SAML metadata
document.
Leave SAML assertion encryption off. The app sends a signed, unencrypted assertion.
2. Copy back what Guard shows
After you save, Guard shows two values. Paste both into step 2 of the app’s Atlassian Guard tab and select Save Guard settings.
| In Guard | In the app |
|---|---|
| Service provider entity URL | Service provider entity URL |
| Service provider assertion consumer service URL | Service provider assertion consumer service URL |
The app accepts login requests only from this service provider and sends the signed login only
to this URL. Both must be HTTPS addresses on auth.atlassian.com.
Until these two values are saved, the app refuses every login with Login is not set up correctly.
3. Link the domain and set up provisioning
- Link your verified domain to the directory, so that Atlassian’s login page sends users of that domain to the app.
- Set up user provisioning in the same directory. Guard shows a SCIM base URL and an API key. They go into Entra ID’s Atlassian Cloud app, as provision users from Entra ID describes.
4. Create the single sign-on policy
Under Security, Authentication policies, create a policy that enforces single sign-on through this directory. A member can be in one policy at a time, and a change applies the next time they log in.
- Add one test user first, and log in.
- Add the rest in batches.
- Never add the break-glass admins.
What the app sends to Atlassian
For a successful login the app posts a SAML response to the assertion consumer service URL, signed with RSA-SHA256 and valid for 5 minutes.
| In the assertion | Value |
|---|---|
| NameID | The user’s email address, as Entra ID sent it |
http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name |
The user’s externalId, the permanent ID Atlassian requires |
| In response to | The one login request that started it |
The personal code is never in it.
What the app accepts from Atlassian
The app starts a login only for a SAML request that names the saved service provider entity URL and the saved assertion consumer service URL. Anything else gets Login request rejected.
When the address changes
The Entity ID and SSO URL belong to the installation. They change only when the app is uninstalled and installed again. The health check compares the address Guard was given with the address now, and reports a difference as a problem. See recovery.
Common questions
- Which Atlassian Guard plan does eID login need?
- Atlassian Guard Standard or Enterprise. According to Atlassian, Standard includes SAML single sign-on and user provisioning, which are the two things the setup uses.
- Which identity provider type do we choose in Atlassian Guard?
- Other provider. The app is a SAML 2.0 identity provider of its own, and Entra ID provisions the users into the same directory.
- Does the app encrypt the SAML assertion?
- No. The app sends a signed, unencrypted assertion over HTTPS. Leave SAML assertion encryption off in Guard.
Related
A problem or a question? Write to support@oktul.com or open a request in the Help Center (opens in a new tab).