@lukoweb/apitogo 0.2.24 → 0.2.26
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/cli/cli.js +5 -2
- package/package.json +3 -1
- package/src/config/v2/wrapper.ts +4 -1
package/dist/cli/cli.js
CHANGED
|
@@ -8060,7 +8060,8 @@ function authenticationFor(plan2) {
|
|
|
8060
8060
|
// Accounts are made at the identity (its own sign-up page), never at the plans backend.
|
|
8061
8061
|
native: { enabled: false }
|
|
8062
8062
|
};
|
|
8063
|
-
|
|
8063
|
+
const { audience: _audience, ...signIn } = plan2.auth ?? {};
|
|
8064
|
+
return { type: "openid", ...signIn };
|
|
8064
8065
|
}
|
|
8065
8066
|
var PREVIEW_BANNER_MESSAGE = "Preview mode: sign-in and plans use a stand-in manifest. Run `apitogo deploy` for the real services.";
|
|
8066
8067
|
function renderWrapper(plan2) {
|
|
@@ -9967,7 +9968,7 @@ import {
|
|
|
9967
9968
|
// package.json
|
|
9968
9969
|
var package_default = {
|
|
9969
9970
|
name: "@lukoweb/apitogo",
|
|
9970
|
-
version: "0.2.
|
|
9971
|
+
version: "0.2.26",
|
|
9971
9972
|
type: "module",
|
|
9972
9973
|
sideEffects: [
|
|
9973
9974
|
"**/*.css",
|
|
@@ -10058,6 +10059,7 @@ var package_default = {
|
|
|
10058
10059
|
"@fontsource/ibm-plex-sans": "^5.3.0",
|
|
10059
10060
|
"@fontsource/jetbrains-mono": "^5.3.0",
|
|
10060
10061
|
"@fontsource/space-grotesk": "^5.3.0",
|
|
10062
|
+
"@graphql-tools/utils": "12.1.0",
|
|
10061
10063
|
"@graphql-typed-document-node/core": "3.2.0",
|
|
10062
10064
|
"@hono/node-server": "1.19.11",
|
|
10063
10065
|
"@lekoarts/rehype-meta-as-attributes": "3.0.3",
|
|
@@ -10131,6 +10133,7 @@ var package_default = {
|
|
|
10131
10133
|
"javascript-stringify": "2.1.0",
|
|
10132
10134
|
"json-schema-to-typescript-lite": "15.0.0",
|
|
10133
10135
|
loglevel: "1.9.2",
|
|
10136
|
+
"lru-cache": "10.4.3",
|
|
10134
10137
|
"lucide-react": "0.577.0",
|
|
10135
10138
|
"mdast-util-from-markdown": "2.0.2",
|
|
10136
10139
|
"mdast-util-mdx": "3.0.0",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lukoweb/apitogo",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.26",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"**/*.css",
|
|
@@ -184,6 +184,7 @@
|
|
|
184
184
|
"@fontsource/ibm-plex-sans": "^5.3.0",
|
|
185
185
|
"@fontsource/jetbrains-mono": "^5.3.0",
|
|
186
186
|
"@fontsource/space-grotesk": "^5.3.0",
|
|
187
|
+
"@graphql-tools/utils": "12.1.0",
|
|
187
188
|
"@graphql-typed-document-node/core": "3.2.0",
|
|
188
189
|
"@hono/node-server": "1.19.11",
|
|
189
190
|
"@lekoarts/rehype-meta-as-attributes": "3.0.3",
|
|
@@ -257,6 +258,7 @@
|
|
|
257
258
|
"javascript-stringify": "2.1.0",
|
|
258
259
|
"json-schema-to-typescript-lite": "15.0.0",
|
|
259
260
|
"loglevel": "1.9.2",
|
|
261
|
+
"lru-cache": "10.4.3",
|
|
260
262
|
"lucide-react": "0.577.0",
|
|
261
263
|
"mdast-util-from-markdown": "2.0.2",
|
|
262
264
|
"mdast-util-mdx": "3.0.0",
|
package/src/config/v2/wrapper.ts
CHANGED
|
@@ -321,7 +321,10 @@ function authenticationFor(plan: PortalPlan): Record<string, unknown> {
|
|
|
321
321
|
// Accounts are made at the identity (its own sign-up page), never at the plans backend.
|
|
322
322
|
native: { enabled: false },
|
|
323
323
|
};
|
|
324
|
-
|
|
324
|
+
// The audience is for the gateway and the token, not for the sign-in request: the portal would send it as an extra
|
|
325
|
+
// request parameter and the identity refuses a sign-in request that carries one.
|
|
326
|
+
const { audience: _audience, ...signIn } = plan.auth ?? {};
|
|
327
|
+
return { type: "openid", ...signIn };
|
|
325
328
|
}
|
|
326
329
|
|
|
327
330
|
/** Shown on every page of a preview run, so a stand-in manifest is never mistaken for a deployed portal. */
|