Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
allenzhou101 authored Feb 8, 2024
1 parent aaf53b5 commit 9480981
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,13 @@ cd client
VITE_DESCOPE_PROJECT_ID=<Your-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.
<img width="1317" alt="Screenshot 2024-02-08 at 2 08 51 PM" src="https://github.com/descope-sample-apps/notes-rebac/assets/46854522/13bae15e-d50e-4244-b1df-b7a3bf7209f8">


5. Run the client

```
npm install
Expand Down

0 comments on commit 9480981

Please sign in to comment.