CockpitQL addon ( Mutation and Authentication )

Firstly, thanks for the updates of CockpitQL addon.

Mutation is working well in playground under cockpit dashboard .

But It doesn’t seem to work when sending request from external frontend/client apps.

This is example from Altair GraphQL Client

It always showing “Unauthorized”.

Hi!

Right now you have to use an account token that has the rights to edit collection items.
Not sure yet if I should also allow non-account tokens :thinking:

Exactly @artur , it doesn’t work with non-account key, only works with account key. Thank you so much. Cockpit is way more powerful with Graphql <3