@axa-fr/react-oidc 6.0.0-beta16 → 6.0.0-beta17
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 -1
- package/package.json +1 -1
- package/src/oidc/vanilla/parseTokens.js +3 -0
package/README.md
CHANGED
|
@@ -31,7 +31,7 @@ It use AppAuthJS behind the scene because it very lightweight and created by ope
|
|
|
31
31
|
- **Simple** :
|
|
32
32
|
- refresh_token and access_token are auto refreshed in background
|
|
33
33
|
- with the use of the Service Worker, you do not need to inject the access_token in every fetch, you have only to configure OidcTrustedDomains.js file
|
|
34
|
-
- **No cookies problem** : You can disable silent signin (that internally use an iframe)
|
|
34
|
+
- **No cookies problem** : You can disable silent signin (that internally use an iframe). For your information, your OIDC server should be in the same domain of your website in order to be able to send OIDC server cookies from your website via an internal IFRAME, else, you may encounter COOKIES problem.
|
|
35
35
|
- **Multiple Authentication** :
|
|
36
36
|
- You can authenticate many times to the same provider with different scope (for example you can acquire a new 'payment' scope for a payment)
|
|
37
37
|
- You can authenticate to multiple different providers inside the same SPA (single page application) website
|
|
@@ -161,6 +161,7 @@ const propTypes = {
|
|
|
161
161
|
userinfo_endpoint: PropTypes.string,
|
|
162
162
|
end_session_endpoint: PropTypes.string,
|
|
163
163
|
revocation_endpoint: PropTypes.string,
|
|
164
|
+
check_session_iframe: PropTypes.string
|
|
164
165
|
}),
|
|
165
166
|
refresh_time_before_tokens_expiration_in_second: PropTypes.number,
|
|
166
167
|
service_worker_relative_url: PropTypes.string,
|
|
@@ -533,6 +534,7 @@ const configuration = {
|
|
|
533
534
|
userinfo_endpoint: 'https://demo.duendesoftware.com/connect/userinfo',
|
|
534
535
|
end_session_endpoint: 'https://demo.duendesoftware.com/connect/endsession',
|
|
535
536
|
revocation_endpoint: 'https://demo.duendesoftware.com/connect/revocation',
|
|
537
|
+
check_session_iframe: 'https://demo.duendesoftware.com/connect/checksession'
|
|
536
538
|
},
|
|
537
539
|
};
|
|
538
540
|
|
package/package.json
CHANGED