piral-oidc 1.8.0-beta.7659 → 1.8.0-beta.7668
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/package.json +3 -3
- package/src/setup.test.ts +4 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "piral-oidc",
|
|
3
|
-
"version": "1.8.0-beta.
|
|
3
|
+
"version": "1.8.0-beta.7668",
|
|
4
4
|
"description": "Plugin to integrate authentication using OpenID connect in Piral.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"piral",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"oidc-client": "^1.10.1"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"piral-core": "1.8.0-beta.
|
|
58
|
+
"piral-core": "1.8.0-beta.7668"
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "1b32d52d4d57363bed8af9105dd41a0635075721"
|
|
61
61
|
}
|
package/src/setup.test.ts
CHANGED
|
@@ -102,22 +102,22 @@ describe('Piral-Oidc setup module', () => {
|
|
|
102
102
|
it('login() should signInRedirect on the UserManager', async () => {
|
|
103
103
|
const client = setupOidcClient(oidcConfig);
|
|
104
104
|
const settings = client._.settings;
|
|
105
|
-
Object.defineProperty(settings,
|
|
105
|
+
Object.defineProperty(settings, 'popup_redirect_uri', {
|
|
106
106
|
get() {
|
|
107
107
|
return settings.popup_redirect_uri || settings.redirect_uri;
|
|
108
108
|
},
|
|
109
109
|
});
|
|
110
|
-
Object.defineProperty(settings,
|
|
110
|
+
Object.defineProperty(settings, 'post_logout_redirect_uri', {
|
|
111
111
|
get() {
|
|
112
112
|
return settings.post_logout_redirect_uri;
|
|
113
113
|
},
|
|
114
114
|
});
|
|
115
|
-
Object.defineProperty(settings,
|
|
115
|
+
Object.defineProperty(settings, 'redirect_uri', {
|
|
116
116
|
get() {
|
|
117
117
|
return settings.redirect_uri;
|
|
118
118
|
},
|
|
119
119
|
});
|
|
120
|
-
Object.defineProperty(settings,
|
|
120
|
+
Object.defineProperty(settings, 'silent_redirect_uri', {
|
|
121
121
|
get() {
|
|
122
122
|
return settings.silent_redirect_uri || settings.redirect_uri;
|
|
123
123
|
},
|