zudoku 0.35.0 → 0.35.1
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/dist/config/validators/common.d.ts +3 -3
- package/dist/config/validators/common.js +1 -1
- package/dist/config/validators/common.js.map +1 -1
- package/dist/config/validators/validate.d.ts +1 -1
- package/dist/lib/authentication/providers/openid.js +4 -1
- package/dist/lib/authentication/providers/openid.js.map +1 -1
- package/lib/{OasProvider-DEL8ulKm.js → OasProvider-vimCZXXF.js} +2 -2
- package/lib/{OasProvider-DEL8ulKm.js.map → OasProvider-vimCZXXF.js.map} +1 -1
- package/lib/{OperationList-D6goKbzX.js → OperationList-C6Tumce9.js} +2 -2
- package/lib/{OperationList-D6goKbzX.js.map → OperationList-C6Tumce9.js.map} +1 -1
- package/lib/{createServer-BNBGpbLa.js → createServer-BEFAOb-x.js} +227 -221
- package/lib/createServer-BEFAOb-x.js.map +1 -0
- package/lib/{index-PKytqmuw.js → index-OD2IZ2Nn.js} +4 -4
- package/lib/{index-PKytqmuw.js.map → index-OD2IZ2Nn.js.map} +1 -1
- package/lib/zudoku.auth-openid.js +94 -94
- package/lib/zudoku.auth-openid.js.map +1 -1
- package/lib/zudoku.plugin-openapi.js +1 -1
- package/package.json +2 -2
- package/src/lib/authentication/providers/openid.tsx +5 -1
- package/lib/createServer-BNBGpbLa.js.map +0 -1
|
@@ -5,7 +5,7 @@ import "./chunk-HA7DTUK3-ZGg2W6yV.js";
|
|
|
5
5
|
import "./hook-CfCFKZ-2.js";
|
|
6
6
|
import "./ui/Button.js";
|
|
7
7
|
import "./joinUrl-10po2Jdj.js";
|
|
8
|
-
import { U as n, o as s } from "./index-
|
|
8
|
+
import { U as n, o as s } from "./index-OD2IZ2Nn.js";
|
|
9
9
|
export {
|
|
10
10
|
n as UNTAGGED_PATH,
|
|
11
11
|
s as openApiPlugin
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zudoku",
|
|
3
|
-
"version": "0.35.
|
|
3
|
+
"version": "0.35.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"homepage": "https://zudoku.dev",
|
|
6
6
|
"repository": {
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
"@lekoarts/rehype-meta-as-attributes": "3.0.2",
|
|
135
135
|
"@mdx-js/react": "3.1.0",
|
|
136
136
|
"@mdx-js/rollup": "3.1.0",
|
|
137
|
-
"@pothos/core": "4.
|
|
137
|
+
"@pothos/core": "4.5.0",
|
|
138
138
|
"@radix-ui/react-accordion": "1.2.3",
|
|
139
139
|
"@radix-ui/react-alert-dialog": "1.1.6",
|
|
140
140
|
"@radix-ui/react-aspect-ratio": "1.1.2",
|
|
@@ -172,7 +172,11 @@ export class OpenIDAuthenticationProvider implements AuthenticationProvider {
|
|
|
172
172
|
authorizationServer.authorization_endpoint,
|
|
173
173
|
);
|
|
174
174
|
|
|
175
|
-
|
|
175
|
+
const finalRedirect = redirectTo.startsWith(window.location.origin)
|
|
176
|
+
? redirectTo.slice(window.location.origin.length)
|
|
177
|
+
: redirectTo;
|
|
178
|
+
|
|
179
|
+
sessionStorage.setItem("redirect-to", finalRedirect);
|
|
176
180
|
|
|
177
181
|
const redirectUrl = new URL(window.location.origin);
|
|
178
182
|
redirectUrl.pathname = this.callbackUrlPath;
|