I have a question regarding the built in email aut...
# prisma-whats-new
a
I have a question regarding the built in email auth system. When building a regular old JSON REST API’s in whichever language you usually have a user verification system in place. For example to avoid bots signing up to your service. Let’s say I have a Boolean as such on the User node:
Copy code
isVerified: Boolean @defaultValue(value: false)
How would I go about hooking up a function (could be on AWS lambda or similar) to: • Send out an email with a confirmation link (with TTL) • Handle the incoming request when a user presses the link to change the bool value and allow login access This is also applicable to a “forgot password” feature.
In case anybody didn’t find this information earlier, here’s the documentation: https://www.graph.cool/docs/reference/functions/function-types-ofuuh5eenu/
n
hey @andreas.hard that's a great topic with several different aspects - could you bring this up in the forum so we can have an in-depth discussion? 🙂 https://graph.cool/forum/c/questions