From b0c8f67b556f8529f0998c3d7ae7c8e7a30ebe0a Mon Sep 17 00:00:00 2001 From: Tomas Barry Date: Thu, 2 Mar 2017 19:32:25 +0000 Subject: [PATCH 1/2] Updated register JSON data givenName and surname fields are required and the documentation did not reflect this. --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 06cb598e..b5b28cf9 100644 --- a/README.md +++ b/README.md @@ -144,7 +144,7 @@ Follow these steps to add Stormpath user authentication to your Express.js app. ```javascript { "username": "foo@bar.com", - "password": "myPassword" + "password": "myPassword", } ``` @@ -184,7 +184,9 @@ Follow these steps to add Stormpath user authentication to your Express.js app. ```javascript { "email": "foo@bar.com", - "password": "mySuper3ecretPAssw0rd" + "password": "mySuper3ecretPAssw0rd", + "givenName": "baz", + "surname": "qux" } ``` From 552433d7cda912fdf78d69f3c1fd4d376cf938d5 Mon Sep 17 00:00:00 2001 From: Tomas Barry Date: Thu, 2 Mar 2017 19:33:32 +0000 Subject: [PATCH 2/2] Fixed typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b5b28cf9..5638f2d9 100644 --- a/README.md +++ b/README.md @@ -144,7 +144,7 @@ Follow these steps to add Stormpath user authentication to your Express.js app. ```javascript { "username": "foo@bar.com", - "password": "myPassword", + "password": "myPassword" } ```