Skip to content

Commit 095ad0f

Browse files
authored
Update auth0.md
1 parent cb39714 commit 095ad0f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/guides/authentication/auth0.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,9 @@ const Profile = () => {
142142
// create a new user
143143
await fetch('/api/create-user', {
144144
method: 'POST',
145+
headers: {
146+
'Content-Type': 'application/json'
147+
},
145148
body: JSON.stringify({
146149
id: user.sub,
147150
name: name,

0 commit comments

Comments
 (0)