From 94809818c6a5a265540b26d921597cab5ec2c0ee Mon Sep 17 00:00:00 2001 From: Allen Zhou <46854522+allenzhou101@users.noreply.github.com> Date: Thu, 8 Feb 2024 14:10:55 -0800 Subject: [PATCH] Update README.md --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0a159ee..06b41a5 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,13 @@ cd client VITE_DESCOPE_PROJECT_ID= ``` -3. Run the client +3. Add `email` to JWT in Descope flow + +Navigate to your Descope console, select the flow you'd like to run (the default is `sign-up-or-in`) and add this field to the JWT. This way, the middleware in the backend will be able to access the email directly from the jwt. +Screenshot 2024-02-08 at 2 08 51 PM + + +5. Run the client ``` npm install