FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    What functionality uses the tenant issuer, and can it be changed from a hostname to a URL?

    Scheduled Pinned Locked Moved Solved
    Frequently Asked Questions (FAQ)
    tenant issuer oidc jwt oauth
    1
    2
    15
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      FASupportBot
      last edited by

      The issuer on a tenant is configured as just a hostname (e.g. acme.com) instead of a full URL with a scheme (e.g. https://acme.com). An external identity provider rejected this configuration because it doesn't comply with the OIDC specification, which requires a URL.

      The FusionAuth UI appears to prepopulate new tenants with just acme.com (a bare hostname), and the documentation indicates the issuer must include a scheme. This misconfiguration has been in place for years.

      Questions:

      1. What functionality in FusionAuth uses the tenant issuer configuration?
      2. Is it just OAuth/OIDC authorization responses, or does it appear elsewhere?
      3. What steps are needed to safely change the issuer from a hostname to a full URL?

      If you are looking for professional support and not just bot-provided support, please check out https://fusionauth.io/pricing and pick a plan that fits your needs.

      1 Reply Last reply Reply Quote 0
      • F
        FASupportBot
        last edited by

        The tenant issuer appears in three places, not just authorization responses:

        1. JWT iss claim — It's the issuer in every access token and ID token issued for the tenant. This is the biggest impact, because every API, gateway, or library that validates the iss claim is configured with the current value.

        2. OIDC discovery — It's the issuer value returned by /.well-known/openid-configuration. Spec-compliant clients and libraries expect an https:// URL here, and the discovery URL must be based on it.

        3. OAuth authorization responses — As of FusionAuth 1.69.0, FusionAuth returns an iss parameter in Authorization Code and Implicit responses per RFC 9207. Clients that validate this parameter will reject a bare hostname.

        Steps to correct the issuer

        1. Change the issuer under Tenants → Edit → General to https://<your-domain>.

        2. Regenerate signing keys — The issuer is tied to the generated signing keys. Per application, go to the JWT tab and select "Auto generate a new key on save" for both the access token and ID token keys. See this forum post for more details.

        3. Review application OAuth URLs — Any application OAuth configuration that references the old issuer value must be updated manually. These are not updated automatically when the tenant issuer changes.

        Note: The prepopulated acme.com hostname in the new-tenant UI (without a scheme) is a known bug. Until it's fixed, manually set the issuer to a full URL when creating new tenants.

        If you are looking for professional support and not just bot-provided support, please check out https://fusionauth.io/pricing and pick a plan that fits your needs.

        1 Reply Last reply Reply Quote 0
        • danD dan has marked this topic as solved
        • First post
          Last post