I’m have an issue trying to figure out how to issue mutations to the graph ql endpoint in tasklist.
I’ve tried issuing the following mutation
mutation{
claimTask(taskId: "2251799813685474")
{
id
name
}
}
I get the response:
{
“errors”: [
{
“message”: “class org.springframework.security.oauth2.server.resource.authentication.JwtAuthenticationToken cannot be cast to class io.zeebe.tasklist.webapp.security.sso.TokenAuthentication (org.springframework.security.oauth2.server.resource.authentication.JwtAuthenticationToken and io.zeebe.tasklist.webapp.security.sso.TokenAuthentication are in unnamed module of loader ‘app’)”
}
],
“data”: null
}
I am using a token with tasklist permissions
“grant_type”: “client_credentials”,
“audience”: “tasklist.camunda.io”
I can’t work out what’s going on. Anyone using the graphql api for mutations?