markhuot / craftql

A drop-in GraphQL server for Craft CMS
Other
320 stars 53 forks source link

Are tokens not stored in project.yaml? #330

Closed sunscreem closed 4 years ago

sunscreem commented 4 years ago

Everything is working nicely locally.

I've deployed to production and I'm getting a not-authorised.

If I go and put the site into dev mode I can see that the token I created has been removed because it wasn't captured in the project.yaml.

Is this correct? It's a serious pain as I have to turn on dev mode just to get into settings to duplicate the key?

sunscreem commented 4 years ago

Update - just found this:

https://github.com/markhuot/craftql/issues/250

Anyone know if this is being worked on?

brandonkelly commented 4 years ago

@sunscreem If you are able to use Craft’s built-in GraphQL API, we have started storing schemas in the Project Config in 3.4 (currently in Beta). See craftcms/cms#4829

sunscreem commented 4 years ago

Thanks @brandonkelly - I had to switch to using this as the built-in one doesn't support a specific type query I need just now.