@axa-fr/react-oidc 6.6.3 → 6.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -106,10 +106,10 @@ import Routes from './Router';
|
|
|
106
106
|
// You need to give inside your code the "access_token" when using fetch
|
|
107
107
|
const configuration = {
|
|
108
108
|
client_id: 'interactive.public.short',
|
|
109
|
-
redirect_uri: '
|
|
110
|
-
silent_redirect_uri: '
|
|
109
|
+
redirect_uri: window.location.origin + '/authentication/callback',
|
|
110
|
+
silent_redirect_uri: window.location.origin + '/authentication/silent-callback',
|
|
111
111
|
scope: 'openid profile email api offline_access', // offline_access scope allow your client to retrieve the refresh_token
|
|
112
|
-
authority: 'https://demo.
|
|
112
|
+
authority: 'https://demo.duendesoftware.com',
|
|
113
113
|
service_worker_relative_url:'/OidcServiceWorker.js',
|
|
114
114
|
service_worker_only:false,
|
|
115
115
|
};
|