hey <@UBGNKDHK9> /<@U0RQY0KK5>, do you have any ex...
# random
t
hey @Jenkins /@nilan, do you have any explanation on why my token is usable in the dev playground but not on the app playground?
n
You fully control how authentication is checked in your app project.
I assume you are talking about a Prisma service token, for example obtained from
prisma token
t
yes indeed
n
It is not supposed to be used against your application.
t
i supplied the secret in
prisma.yml
and
index.js
using env vars
u mean not supposed to be used in the app playground?
n
Correct.
t
so how do i do a mutation for signup, if we are looking at the howtographql example
n
I suppose the application schema exposes a mutation called
signup
or similar.
t
but it is showing token is invalid when i try to
signup
or
login
so what token should i provide there?
hmm i see it is returning an AuthPayload for
signup
and
login
omg, i m so stupid.. lol.. ok , so it was because i edited the URL on the app playground to point to my ec2 where i m supposed to point it to localhost instead