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

Name

Type

Description

Required

orgId

UUID

The organization ID.

Yes

domain

String

The JWT issuer domain.

Yes

Returns

Name

Type

Description

Organization

Object

Contains all the information from Organization.

Example

Set a JWT issuer domain using domain and organization ID: