oidc-spa 5.2.6 → 5.2.7
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.
|
@@ -57,8 +57,8 @@ var OidcInitializationError = /** @class */ (function (_super) {
|
|
|
57
57
|
return "You probably forgot to create the silent-sso.htm file in the public directory.";
|
|
58
58
|
case "serving another file":
|
|
59
59
|
return [
|
|
60
|
-
"You probably forgot to create the `silent-sso.htm` file in the public directory
|
|
61
|
-
"If you did create check the configuration of your web server, it's probably re-routing the GET request to silent-sso.htm",
|
|
60
|
+
"You probably forgot to create the `silent-sso.htm` file in the public directory.",
|
|
61
|
+
"If you did create it check the configuration of your web server, it's probably re-routing the GET request to silent-sso.htm",
|
|
62
62
|
"to another file. Likely your index.html"
|
|
63
63
|
].join(" ");
|
|
64
64
|
case "using .html instead of .htm extension":
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OidcInitializationError.js","sourceRoot":"","sources":["src/OidcInitializationError.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,iDAA8D;AAE9D;IAA6C,2CAAK;IAG9C,iCACI,MAsCO;;QAEP,YAAA,MAAK,YACD,CAAC;;YACG,QAAQ,MAAM,CAAC,IAAI,EAAE,CAAC;gBAClB,KAAK,aAAa;oBACd,OAAO;wBACH,mCAAmC;wBACnC,qEAA8D,MAAM,CAAC,SAAS,mBAAgB;wBAC9F,+FAA+F;wBAC/F,yEAAyE;qBAC5E,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBAChB,KAAK,mBAAmB;oBACpB,QAAQ,MAAM,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC;wBAC9B,KAAK,2BAA2B;4BAC5B,OAAO;gCACH,0BAAmB,MAAM,CAAC,WAAW,CAAC,QAAQ,oDAAiD;gCAC/F,6DACI,MAAA,MAAM,CAAC,WAAW,CAAC,SAAS,mCAAI,MAAM,CAAC,QAAQ,CAAC,MAAM,4CAClB;gCACxC,iBAA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AsD;gCACtD,0CAAwC;gCACxC,KAAK;gCACL,oEAAoE;6BACvE,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;oBACpB,CAAC;gBACL,KAAK,SAAS;oBACV,OAAO,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC;YACpC,CAAC;YACD,IAAA,cAAM,EAA+B,KAAK,CAAC,CAAC;QAChD,CAAC,CAAC,EAAE;QACJ,mBAAmB;QACnB,EAAE,OAAO,EAAE,MAAM,CAAC,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,EAAE,CACpE,SAAC;QACF,KAAI,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;QACxB,MAAM,CAAC,cAAc,CAAC,KAAI,EAAE,WAAW,SAAS,CAAC,CAAC;;IACtD,CAAC;IACL,8BAAC;AAAD,CAAC,AA1HD,CAA6C,KAAK,GA0HjD;AA1HY,0DAAuB"}
|
package/oidc.js
CHANGED
|
@@ -111,7 +111,7 @@ var OidcInitializationError_1 = require("./OidcInitializationError");
|
|
|
111
111
|
var base64_1 = require("./tools/base64");
|
|
112
112
|
var toHumanReadableDuration_1 = require("./tools/toHumanReadableDuration");
|
|
113
113
|
// NOTE: Replaced at build time
|
|
114
|
-
var VERSION = "5.2.
|
|
114
|
+
var VERSION = "5.2.7";
|
|
115
115
|
var PARAMS_TO_RETRIEVE_FROM_SUCCESSFUL_LOGIN = ["code", "state", "session_state", "iss"];
|
|
116
116
|
// NOTE: This is not arbitrary, it matches what oidc-client-ts uses.
|
|
117
117
|
var SESSION_STORAGE_PREFIX = "oidc.";
|
package/package.json
CHANGED
|
@@ -82,8 +82,8 @@ export class OidcInitializationError extends Error {
|
|
|
82
82
|
return "You probably forgot to create the silent-sso.htm file in the public directory.";
|
|
83
83
|
case "serving another file":
|
|
84
84
|
return [
|
|
85
|
-
"You probably forgot to create the `silent-sso.htm` file in the public directory
|
|
86
|
-
"If you did create check the configuration of your web server, it's probably re-routing the GET request to silent-sso.htm",
|
|
85
|
+
"You probably forgot to create the `silent-sso.htm` file in the public directory.",
|
|
86
|
+
"If you did create it check the configuration of your web server, it's probably re-routing the GET request to silent-sso.htm",
|
|
87
87
|
"to another file. Likely your index.html"
|
|
88
88
|
].join(" ");
|
|
89
89
|
case "using .html instead of .htm extension":
|