How to obtain authentication methods via a database SQL query or REST API in Jira Datacenter

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

Jira's authentication methods are easily accessible via the UI via Jira Admin → System → Authentication methods. This article describes how to obtain this information from the database or REST API.

Please note that both the REST API and database schema are subject to change in future versions.

Environment

  • Jira Data Center (tested on version 9.4.11)

Solution

Rest API

Username and password (Product login form)

1 GET /rest/authconfig/1.0/sso

Sample output

1 {"show-login-form":true,"enable-authentication-fallback":false,"show-login-form-for-jsm":true,"last-updated":"2023-11-02T00:42:32.671Z"}

SSO

1 GET /rest/authconfig/1.0/idps

Sample output:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 { "results": [ { "id": 1, "name": "Test", "enabled": true, "sso-type": "OIDC", "include-customer-logins": false, "enable-remember-me": true, "last-updated": "2023-11-02T00:41:03.127Z", "jit-configuration": { "user-provisioning-enabled": false, "mapping-display-name": "", "mapping-email": "", "mapping-groups": "", "additional-openid-scopes": [] }, "button-text": "atl-test", "issuer-url": "https://jira.atl-test.net/jira", "client-id": "asfasfd", "authorization-endpoint": "https://jira.atl-test.net/jira", "token-endpoint": "https://jira.atl-test.net/jira", "userinfo-endpoint": "https://jira.atl-test.net/jira", "additional-scopes": [], "username-claim": "${sub}", "discovery-enabled": false } ], "size": 1, "start": 0, "limit": 50, "isLastPage": true }

Database SQL query

Username and password (Product login form)

1 2 3 select p.property_key ,ps.propertyvalue from propertystring ps join propertyentry p ON ps.id = p.id WHERE p.property_key = 'com.atlassian.plugins.authentication.sso.config.show-login-form'

Sample output:

1 2 3 |property_key |propertyvalue| |---------------------------------------------------------------|-------------| |com.atlassian.plugins.authentication.sso.config.show-login-form|true |

SSO

1 select * from "AO_ED669C_IDP_CONFIG"

Sample output:

1 2 3 |ADDITIONAL_JIT_SCOPES|ADDITIONAL_SCOPES|AUTHORIZATION_ENDPOINT |BUTTON_TEXT|CLIENT_ID|CLIENT_SECRET|ENABLED|ENABLE_REMEMBER_ME|ID |INCLUDE_CUSTOMER_LOGINS|ISSUER |LAST_UPDATED |MAPPING_DISPLAYNAME|MAPPING_EMAIL|MAPPING_GROUPS|NAME|SAML_IDP_TYPE|SIGNING_CERT|SSO_TYPE|SSO_URL|TOKEN_ENDPOINT |USERNAME_ATTRIBUTE|USERNAME_CLAIM|USER_INFO_ENDPOINT |USER_PROVISIONING_ENABLED|USE_DISCOVERY| |---------------------|-----------------|----------------------------------------|-----------|---------|-------------|-------|------------------|---|-----------------------|----------------------------------------|-----------------------|-------------------|-------------|--------------|----|-------------|------------|--------|-------|----------------------------------------|------------------|--------------|----------------------------------------|-------------------------|-------------| |[] |[] |https://jira.atl-test.net/jira|Test |asfasfd |asdadsf |true |true |1 |false |https://jira.atl-test.net/jira|2023-11-02 00:41:03.127| | | |Test| | |OIDC | |https://jira.atl-test.net/jira| |${sub} |https://jira.atl-test.net/jira|false |false |

Updated on March 21, 2025

Still need help?

The Atlassian Community is here for you.