authSourceJWTCreate
Creates a JWT authentication source.
Input Parameters:
authSourceJWT: JWT authentication source configuration including name, issuer, and details.
Response:
- Returns the created JWT authentication source with all configuration details.
Example Request:
mutation {
authSourceJWTCreate(authSourceJWT: {
name: "My JWT Auth Source",
issuer: "https://auth.example.com",
details: {
description: "JWT authentication for API access",
groupsAttribute: "groups",
roles: ["admin", "user"],
audiences: ["aud1"],
userIdClaim: "preferred_username"
}
}) {
id,
name,
description,
issuer,
jwksUrl,
groupsAttribute,
audiences,
userIdClaim,
roles {
id,
name
}
}
}
authSourceJWTCreate(
authSourceJWT: AuthSourceJWTCreateInput!
): AuthSourceJWT!
Arguments
authSourceJWTCreate.authSourceJWT ● AuthSourceJWTCreateInput! non-null input platform
Type
AuthSourceJWT object platform
A JWT authentication source that can be used to secure APIs or Developer Portals
Was this topic helpful?