https://linen.dev logo
Subdomain Parameter Issue in Jira Toolkit Authenti...
# 🖥│support-forum
j
I am writing to report an issue I have encountered regarding the subdomain parameter required for the Jira toolkit. Despite following the documentation and passing the subdomain when creating the authentication configuration, the expected behavior is not occurring. For reference, here is the relevant portion of my implementation: credentials = { "client_id": client_id, "client_secret": client_secret, "oauth_redirect_uri": 'https://auth.dynaris.ai/redirect' } # Add subdomain to credentials for Jira if toolkit.lower() == "jira": if not subdomain: raise ValueError("Subdomain is required for Jira") print(f"Adding subdomain to credentials for Jira: {subdomain}") credentials["subdomain"] = subdomain print(credentials) options = { "type": "use_custom_auth", "auth_scheme": "OAUTH2", "name": f"{toolkit}-{user_id}", "credentials": credentials } print(options) auth_config = client.auth_configs.create(toolkit=toolkit, options=options) db.insert_row_mcp_manager( (user_id, f"{toolkit}-{user_id}", auth_config.id, None, toolkit, None, None) ) db.disconnect() # Build URL with subdomain for Jira url = f"https://auth.dynaris.ai/authorize/{toolkit}?user_id={user_id}&auth_config_id={auth_config.id}" As you can see, the subdomain is explicitly added to the credentials object before creating the authentication configuration. However, the Jira integration still does not recognize it as expected. I have followed this documentation for reference:https://docs.composio.dev/toolkits/jira#authentication-details https://cdn.discordapp.com/attachments/1423233184610652293/1423233185503772804/Screenshot_2025-10-02_111800.png?ex=68df90b1&is=68de3f31&hm=90aa5c5b75fb42b4df926efa312d8a076754beb13e81e279f1cb95864d273e10&
a
Hey @jareer123., it looks like you're passing the subdomain at the authConfig level, whereas it should be passed at the connection level. Sharing some helpful references here: 1. Get required fields for connection initiation: https://docs.composio.dev/sdk-reference/python/python-sdk-reference#get_connected_account_initiation_fields 2. We've recently introduced auth links that should make this process lot more seamless: https://docs.composio.dev/changelog/2025/9/15 do check this out!