@authup/client-auth-console 1.0.0-beta.61 → 1.0.0-beta.62
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/client/.vite/ssr-manifest.json +632 -524
- package/dist/client/assets/index-8yjUEagG.css +2 -0
- package/dist/client/assets/index-D-9Xc0Mb.js +107 -0
- package/dist/client/index.html +2 -2
- package/dist/server/server.js +2762 -1212
- package/package.json +16 -16
- package/src/contract.ts +29 -1
- package/dist/client/assets/index-B6KGdfU3.js +0 -106
- package/dist/client/assets/index-insIj9Yi.css +0 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@authup/client-auth-console",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.62",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "AGPL-3.0-only",
|
|
6
6
|
"description": "Authup's auth console: the SSR auth workflow UI (authorize, register, activate, password recovery, logout) rendered by server-core on the IdP origin.",
|
|
@@ -24,26 +24,26 @@
|
|
|
24
24
|
"node": "^22.13.0 || ^23.5.0 || >=24.0.0"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@authup/core-http-kit": "^1.0.0-beta.
|
|
27
|
+
"@authup/core-http-kit": "^1.0.0-beta.62"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@authup/client-web-kit": "^1.0.0-beta.
|
|
31
|
-
"@authup/client-web-kit-theme": "^1.0.0-beta.
|
|
32
|
-
"@authup/client-web-theme": "^1.0.0-beta.
|
|
33
|
-
"@authup/core-kit": "^1.0.0-beta.
|
|
34
|
-
"@authup/i18n": "^1.0.0-beta.
|
|
35
|
-
"@authup/kit": "^1.0.0-beta.
|
|
30
|
+
"@authup/client-web-kit": "^1.0.0-beta.62",
|
|
31
|
+
"@authup/client-web-kit-theme": "^1.0.0-beta.62",
|
|
32
|
+
"@authup/client-web-theme": "^1.0.0-beta.62",
|
|
33
|
+
"@authup/core-kit": "^1.0.0-beta.62",
|
|
34
|
+
"@authup/i18n": "^1.0.0-beta.62",
|
|
35
|
+
"@authup/kit": "^1.0.0-beta.62",
|
|
36
36
|
"@fontsource/asap": "^5.3.0",
|
|
37
37
|
"@fontsource/nunito": "^5.3.0",
|
|
38
38
|
"@iconify-json/fa6-brands": "^1.2.0",
|
|
39
39
|
"@iconify-json/fa6-solid": "^1.2.0",
|
|
40
40
|
"@iconify/vue": "^5.0.0",
|
|
41
|
-
"@ilingo/validup": "^1.
|
|
42
|
-
"@ilingo/validup-vue": "^1.
|
|
41
|
+
"@ilingo/validup": "^1.2.0",
|
|
42
|
+
"@ilingo/validup-vue": "^1.2.0",
|
|
43
43
|
"@ilingo/vue": "^6.1.0",
|
|
44
|
-
"@nuxt/icon": "^2.
|
|
44
|
+
"@nuxt/icon": "^2.5.0",
|
|
45
45
|
"@tailwindcss/vite": "^4.3.3",
|
|
46
|
-
"@validup/vue": "^
|
|
46
|
+
"@validup/vue": "^2.0.1",
|
|
47
47
|
"@vitejs/plugin-vue": "^6.0.8",
|
|
48
48
|
"@vuecs/button": "^1.4.1",
|
|
49
49
|
"@vuecs/core": "^3.5.0",
|
|
@@ -56,17 +56,17 @@
|
|
|
56
56
|
"@vuecs/link": "^2.1.1",
|
|
57
57
|
"@vuecs/list": "^1.2.1",
|
|
58
58
|
"@vuecs/locale": "^1.1.1",
|
|
59
|
-
"@vuecs/navigation": "^4.
|
|
59
|
+
"@vuecs/navigation": "^4.5.0",
|
|
60
60
|
"@vuecs/overlays": "^1.3.0",
|
|
61
61
|
"@vuecs/pagination": "^2.2.0",
|
|
62
62
|
"@vuecs/placeholder": "^1.1.0",
|
|
63
63
|
"@vuecs/table": "^1.6.1",
|
|
64
|
-
"@vuecs/theme-tailwind": "^6.4.
|
|
64
|
+
"@vuecs/theme-tailwind": "^6.4.2",
|
|
65
65
|
"@vuecs/timeago": "^2.2.0",
|
|
66
66
|
"pinia": "^4.0.2",
|
|
67
67
|
"tailwindcss": "^4.3.1",
|
|
68
|
-
"vite": "^8.1
|
|
69
|
-
"vue": "^3.5.
|
|
68
|
+
"vite": "^8.2.1",
|
|
69
|
+
"vue": "^3.5.41",
|
|
70
70
|
"vue-router": "^5.0.7",
|
|
71
71
|
"vue-tsc": "^3.3.9"
|
|
72
72
|
},
|
package/src/contract.ts
CHANGED
|
@@ -29,7 +29,18 @@ import type { IClient } from '@authup/core-http-kit';
|
|
|
29
29
|
* against an older contract would otherwise fail per request on
|
|
30
30
|
* `/authorize` rather than at boot with an actionable message.
|
|
31
31
|
*/
|
|
32
|
-
export const CONTRACT_VERSION =
|
|
32
|
+
export const CONTRACT_VERSION = 2;
|
|
33
|
+
|
|
34
|
+
/*
|
|
35
|
+
* History:
|
|
36
|
+
*
|
|
37
|
+
* 2 - the host renders `/identity-providers/:id/authorize-in` (the federated
|
|
38
|
+
* callback's interstitial for a non-http(s) redirect_uri) with a payload
|
|
39
|
+
* of `{ redirect, authorizeUrl, client }`; a package without that route
|
|
40
|
+
* renders an empty view for such a completion.
|
|
41
|
+
* 1 - the workflow pages (`/authorize`, `/register`, `/activate`,
|
|
42
|
+
* `/password-forgot`, `/password-reset`, `/logout`).
|
|
43
|
+
*/
|
|
33
44
|
|
|
34
45
|
export type HydrationPayload<T extends Record<string, any> = Record<string, any>> = {
|
|
35
46
|
config: {
|
|
@@ -45,6 +56,23 @@ export type HydrationPayload<T extends Record<string, any> = Record<string, any>
|
|
|
45
56
|
hydration?: Record<string, any>
|
|
46
57
|
};
|
|
47
58
|
|
|
59
|
+
/**
|
|
60
|
+
* The payload of `/identity-providers/:id/authorize-in`, the federated
|
|
61
|
+
* callback's interstitial for a non-http(s) redirect_uri (contract 2): the
|
|
62
|
+
* verified target carrying the code, the hosted authorize URL of the same
|
|
63
|
+
* code request (the page swaps the consumed callback URL for it in the
|
|
64
|
+
* history), and the client's display data.
|
|
65
|
+
*/
|
|
66
|
+
export type IdentityProviderCallbackPayload = {
|
|
67
|
+
redirect: string,
|
|
68
|
+
authorizeUrl: string,
|
|
69
|
+
client: {
|
|
70
|
+
id: string,
|
|
71
|
+
name: string,
|
|
72
|
+
displayName: string | null
|
|
73
|
+
}
|
|
74
|
+
};
|
|
75
|
+
|
|
48
76
|
export type RenderContext = {
|
|
49
77
|
url: string,
|
|
50
78
|
manifest: Record<string, string[]>,
|