From 0555627346f7f6d7fe1b1efcef62a3abcea7db63 Mon Sep 17 00:00:00 2001 From: Jim Lynch Date: Wed, 16 Sep 2020 13:31:23 -0400 Subject: [PATCH 1/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1933055..ce878be 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ Go to your Auth0.com backend and configure your CallbackUrls, *DO NOT USE THE KE Syntax should be: ``` -{YOUR_BUNDLE_IDENTIFIER}://${YOUR_AUTH0_DOMAIN}/ios/{YOUR_BUNDLE_IDENTIFIER}/callback +{YOUR_BUNDLE_IDENTIFIER}://{YOUR_AUTH0_DOMAIN}/ios/{YOUR_BUNDLE_IDENTIFIER}/callback https://{YOUR_AUTH0_DOMAIN}/android/{YOUR_APP_PACKAGE_NAME}/callback From efbc6a2b81369781a5c2dc4779d677d45819b8b8 Mon Sep 17 00:00:00 2001 From: Jim Lynch Date: Wed, 16 Sep 2020 13:35:49 -0400 Subject: [PATCH 2/4] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ce878be..6f2f500 100644 --- a/README.md +++ b/README.md @@ -118,7 +118,9 @@ Start the web authentication flow, returns a promise this.auth0.webAuthentication({ scope: 'openid offline_access' }).then((res) => { - // goToHomeOrWhatevs(); + this.auth0.getUserInfo(res.accessToken).then( userInfo => { + // goToHomeOrWhatevs(); + }) }, (error) => { // console.log(error); }); From 7d11ef51c0835c99c4b5ce4860a58a6039ef45e7 Mon Sep 17 00:00:00 2001 From: Jim Lynch Date: Wed, 16 Sep 2020 13:57:31 -0400 Subject: [PATCH 3/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6f2f500..9f16d8e 100644 --- a/README.md +++ b/README.md @@ -116,7 +116,7 @@ Start the web authentication flow, returns a promise ```ts /// Promise returns credentials object this.auth0.webAuthentication({ - scope: 'openid offline_access' + scope: 'openid profile email' }).then((res) => { this.auth0.getUserInfo(res.accessToken).then( userInfo => { // goToHomeOrWhatevs(); From 5ea958146da0ec469522631589a0ee4b4af9c26f Mon Sep 17 00:00:00 2001 From: Jim Lynch Date: Wed, 16 Sep 2020 14:08:06 -0400 Subject: [PATCH 4/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9f16d8e..05f79a6 100644 --- a/README.md +++ b/README.md @@ -112,7 +112,7 @@ Create your Auth0 object this.auth0 = new Auth0('', ''); ``` -Start the web authentication flow, returns a promise +Start the web authentication flow, with a space-separated string declaring [standard claims](https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims) for the desired user info. ```ts /// Promise returns credentials object this.auth0.webAuthentication({