# How do I specify the 'Home URL' to log in to JIRA using Keycloak(using SAML)?

**URL:** <https://forum.keycloak.org/t/how-do-i-specify-the-home-url-to-log-in-to-jira-using-keycloak-using-saml/26271>\
**Category:** Getting advice\
**Tags:** saml\
**Created:** [May 29, 2024, 6:56am UTC](https://forum.keycloak.org/t/how-do-i-specify-the-home-url-to-log-in-to-jira-using-keycloak-using-saml/26271 "2024-05-29T06:56:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Remy](https://avatars.discourse-cdn.com/v4/letter/r/71e660/32.png) [@Remy](https://forum.keycloak.org/u/Remy)\
**Post date:** [May 29, 2024, 6:56am UTC](https://forum.keycloak.org/t/how-do-i-specify-the-home-url-to-log-in-to-jira-using-keycloak-using-saml/26271/1 "2024-05-29T06:56:28Z")

</div>

I would like to log in to JIRA using SAML using Keycloak.  
I set the same settings by referring to the community post below.

> **[How can I configuration SAML in Keyclock to use atlassian cloud](https://community.atlassian.com/t5/Atlassian-Access-questions/How-can-I-configuration-SAML-in-Keyclock-to-use-atlassian-cloud/qaq-p/880278)**
>
> How can I  configuration SAML  SSO in Keyclock to use atlassian cloud? I got document to configure here https://confluence.atlassian.com/cloud/saml-single-sign-on-943953302.html But Keycloak  unsupported and document not have...

> In the Keycloak client configuration, turn OFF “Client Signature Required” and click on “Save”.
> 
> In Atlassian Access, you need to provide three values:
> 
> “Identity provider Entity ID” - this will be your server’s URL followed by /auth/realms/
> 
> “Identity provider SSO URL” - this will be your server’s URL followed by /auth/realms//protocol/saml
> 
> “Public x509 certificate” - this can be obtained from Keycloak. On our server, I found in under Realm Settings - Keys, then clicking on the Certificate button.
> 
> With the values entered, Atlassian Access will give you two URIs - SP Entity ID and SP Assertion Consumer Service URL.
> 
> Edit the SAML client you created in Keycloak. Change the client ID to be the “SP Entity ID” value. Copy the “SP Assertion Consumer Service URL” and paste it into “Valid Redirect URIs” and “Base URL”. Click “Save”.

However, an error occurs when connecting.  
[Case A]  
When Atlassian\> Service provider assertion consumer service URL is entered in two places: Keycloak\> Home URL, Valid redirect URIs  
 → ‘{“key”:“method\_not\_allowed”}’ is displayed.

[Case B]  
When Atlassian\> Identity provider SSO URL is entered in Keycloak\> Home URL  
 → ‘Page not found’ is displayed.  
When I contacted Atlassian’s customer service center, I received the following response.  
Can you tell me what value I should enter for Home URL?

> I can see that the “Identity provider SSO URL” is not reachable. Can you please contact Keycloac support? They should guide you to the correct link.  
> This link should be reachable:  
> [https://keycloak](https://keycloak).{mycompany}.co.kr/auth/realms/{myrelam}/protocol/saml  
> Once you get the correct link you need to change it on the Atlassian side and do the test again.

![스크린샷 2024-05-29 오후 4.02.19|690x421](upload://j0e6KGxvIZzXSUZ1W16YHRuEwmn.png)

---

<div class="post-metadata">

**Author:** ![Remy](https://avatars.discourse-cdn.com/v4/letter/r/71e660/32.png) [@Remy](https://forum.keycloak.org/u/Remy)\
**Post date:** [May 31, 2024, 9:01am UTC](https://forum.keycloak.org/t/how-do-i-specify-the-home-url-to-log-in-to-jira-using-keycloak-using-saml/26271/2 "2024-05-31T09:01:49Z")

</div>

The connection was successful by referring to the guide on the site below. please refer to this.

> **[SAML Single Sign On (SSO) into Jira using Keycloak as IDP](https://www.miniorange.com/atlassian/saml-single-sign-on-sso-jira-using-jboss-keyclock?version=2.0.0)**
>
> × Jira SAML app gives the ability to enable SAML Single Sign-On for Jira Software and Jira Service Desk. Jira Software and Jira Service Desk are compatible with all SAML Identity Providers. Here we will go through a guide to \[...\]
