matthew_epler
04/03/2018, 10:17 PMprisma init
and the first thing I did was change those values in the .env
file and redeployed. Then I get a token error.lawjolla
04/03/2018, 10:27 PMmatthew_epler
04/03/2018, 11:00 PMnilan
04/04/2018, 8:29 AMmatthew_epler
04/05/2018, 5:16 PMprisma init
, selected node-basic and deploy target of <my-name>.us1…
2. run yarn dev
3. in playground, run a basic ‘feed’ query. Two Post results returned.
4. in code editor, change the value of secret
filed in prisma.yml
5. run yarn prisma deploy
in project root
6. in playground, run same query. Token error.
7. change the secret value back to default
8. run yarn prisma deploy
9. run query again. Two Post results returned.
I captured the flow in a video which I’ve put here: https://www.dropbox.com/s/mlfvhx7zdqlh1os/prisma_cap.mov?dl=0nilan
04/06/2018, 7:45 AMprisma token
, or close the playground and open it again so that happens automatically.
When changing the secret to something else, all tokens that were generated with the old secret become invalid immediately.
So there is no real "bug" here, it's just not super obvious what happens. I think changing the error message to something more helpful is the best course of action 🙂nilan
04/06/2018, 7:49 AMmatthew_epler
04/06/2018, 1:36 PMlawjolla
04/06/2018, 8:09 PM