From c0e6d8e144c4750d96e350dd6861f990b649ddbd Mon Sep 17 00:00:00 2001 From: Stefan Lau Date: Fri, 24 Mar 2017 17:33:12 +0100 Subject: [PATCH 1/2] Update documentation of sso switch --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 118611aee..2e200a284 100644 --- a/README.md +++ b/README.md @@ -234,7 +234,7 @@ var options = { - **redirectUrl {String}**: The url Auth0 will redirect back after authentication. Defaults to the empty string `""` (no redirect URL). - **responseMode {String}**: Should be set to `"form_post"` if you want the code or the token to be transmitted via an HTTP POST request to the `redirectUrl` instead of being included in its query or fragment parts. Otherwise, it should be ommited. - **responseType {String}**: Should be set to `"token"` for Single Page Applications, and `"code"` otherwise. Also, `"id_token"` is supported for the first case. Defaults to `"code"` when `redirectUrl` is provided, and to `"token"` otherwise. -- **sso {Boolean}**: Determines whether Single Sign On is enabled or not. Defaults to `true`. +- **sso {Boolean}**: Determines whether to fetch Single Sign On data on show or not. Defaults to `true`. The Auth0 SSO session will be created in both cases. - **connectionScopes {Object}**: Allows to set scopes to be sent to the oauth2/social connection for authentication. #### Social options From be44f7077db0212fb41d737b27f833081adb4cf8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Rudge?= Date: Fri, 24 Mar 2017 13:57:00 -0300 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2e200a284..153eb79a8 100644 --- a/README.md +++ b/README.md @@ -234,7 +234,7 @@ var options = { - **redirectUrl {String}**: The url Auth0 will redirect back after authentication. Defaults to the empty string `""` (no redirect URL). - **responseMode {String}**: Should be set to `"form_post"` if you want the code or the token to be transmitted via an HTTP POST request to the `redirectUrl` instead of being included in its query or fragment parts. Otherwise, it should be ommited. - **responseType {String}**: Should be set to `"token"` for Single Page Applications, and `"code"` otherwise. Also, `"id_token"` is supported for the first case. Defaults to `"code"` when `redirectUrl` is provided, and to `"token"` otherwise. -- **sso {Boolean}**: Determines whether to fetch Single Sign On data on show or not. Defaults to `true`. The Auth0 SSO session will be created in both cases. +- **sso {Boolean}**: Determines whether to fetch Single Sign On data on show or not. Defaults to `true`. The Auth0 SSO session will be created regardless of this option if SSO is enabled for you client. - **connectionScopes {Object}**: Allows to set scopes to be sent to the oauth2/social connection for authentication. #### Social options