oidc-react
Advanced tools
Comparing version 1.3.0 to 1.4.0
@@ -59,3 +59,3 @@ "use strict"; | ||
return props.userManager; | ||
const { authority, clientId, clientSecret, redirectUri, postLogoutRedirectUri, responseType, scope, automaticSilentRenew, loadUserInfo, popupWindowFeatures, popupRedirectUri, popupWindowTarget, } = props; | ||
const { authority, clientId, clientSecret, redirectUri, silentRedirectUri, postLogoutRedirectUri, responseType, scope, automaticSilentRenew, loadUserInfo, popupWindowFeatures, popupRedirectUri, popupWindowTarget, } = props; | ||
return new oidc_client_1.UserManager({ | ||
@@ -66,3 +66,3 @@ authority, | ||
redirect_uri: redirectUri, | ||
silent_redirect_uri: redirectUri, | ||
silent_redirect_uri: silentRedirectUri || redirectUri, | ||
post_logout_redirect_uri: postLogoutRedirectUri || redirectUri, | ||
@@ -69,0 +69,0 @@ response_type: responseType || 'code', |
@@ -15,2 +15,3 @@ import { UserManager, User } from 'oidc-client'; | ||
redirectUri?: string; | ||
silentRedirectUri?: string; | ||
postLogoutRedirectUri?: string; | ||
@@ -17,0 +18,0 @@ responseType?: string; |
@@ -6,2 +6,9 @@ # Changelog | ||
# [1.4.0](https://github.com/bjerkio/oidc-react/compare/v1.3.0...v1.4.0) (2021-03-15) | ||
### Features | ||
* Add silentRedirectUri option. ([#528](https://github.com/bjerkio/oidc-react/issues/528)) ([a349d4d](https://github.com/bjerkio/oidc-react/commit/a349d4dc770ed22af9c68b9c5c178550382e7006)) | ||
# [1.3.0](https://github.com/bjerkio/oidc-react/compare/v1.2.1...v1.3.0) (2021-03-11) | ||
@@ -8,0 +15,0 @@ |
{ | ||
"name": "oidc-react", | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "description": "", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25070
244