setJwtIssuerDomain

This mutation allows the user to set JWT issuer domain.

Sample Mutation

Set a JWT issuer domain:

mutation{
  setJwtIssuerDomain(orgId:"a1dc174d-abf4-47d3-be3c-9281c6eba456" domain:""){
   id
    handle
    name
    jwtIssuerDomain
  }
}

Sample Response

{
  "data": {
    "setJwtIssuerDomain": {
      "id": "a1dc174d-abf4-47d3-be3c-9281c6eba456",
      "handle": "",
      "name": "",
      "jwtIssuerDomain": ""
    }
  }
}

Arguments

NameTypeDescriptionRequired
orgIdUUIDThe organization ID.Yes
domainStringThe JWT issuer domain.Yes

Returns

NameTypeDescription
OrganizationObjectContains all the information from Organization.

Example

Set a JWT issuer domain using domain and organization ID: