@authup/server-core 1.0.0-beta.62 → 1.0.0-beta.63
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/adapters/database/domains/identity-provider-attribute/subscriber.d.ts +8 -1
- package/dist/adapters/database/domains/identity-provider-attribute/subscriber.d.ts.map +1 -1
- package/dist/adapters/database/domains/identity-provider-attribute/subscriber.mjs +14 -0
- package/dist/adapters/database/domains/identity-provider-attribute/subscriber.mjs.map +1 -1
- package/dist/adapters/http/adapters/oauth2/grant-types/refresh_token.d.ts.map +1 -1
- package/dist/adapters/http/adapters/oauth2/grant-types/refresh_token.mjs +8 -2
- package/dist/adapters/http/adapters/oauth2/grant-types/refresh_token.mjs.map +1 -1
- package/dist/adapters/http/controllers/entities/client/module.mjs +1 -1
- package/dist/adapters/http/controllers/entities/identity-provider/module.d.ts +23 -1
- package/dist/adapters/http/controllers/entities/identity-provider/module.d.ts.map +1 -1
- package/dist/adapters/http/controllers/entities/identity-provider/module.mjs +85 -46
- package/dist/adapters/http/controllers/entities/identity-provider/module.mjs.map +1 -1
- package/dist/adapters/http/controllers/workflows/authenticator-challenge/module.d.ts +2 -0
- package/dist/adapters/http/controllers/workflows/authenticator-challenge/module.d.ts.map +1 -1
- package/dist/adapters/http/controllers/workflows/authenticator-challenge/module.mjs +21 -3
- package/dist/adapters/http/controllers/workflows/authenticator-challenge/module.mjs.map +1 -1
- package/dist/adapters/http/controllers/workflows/authorize/module.d.ts.map +1 -1
- package/dist/adapters/http/controllers/workflows/authorize/module.mjs +5 -0
- package/dist/adapters/http/controllers/workflows/authorize/module.mjs.map +1 -1
- package/dist/adapters/http/controllers/workflows/token/module.d.ts.map +1 -1
- package/dist/adapters/http/controllers/workflows/token/module.mjs +22 -9
- package/dist/adapters/http/controllers/workflows/token/module.mjs.map +1 -1
- package/dist/adapters/http/middleware/built-in/cors.d.ts.map +1 -1
- package/dist/adapters/http/middleware/built-in/cors.mjs.map +1 -1
- package/dist/adapters/http/middleware/built-in/error.d.ts.map +1 -1
- package/dist/adapters/http/middleware/built-in/error.mjs +10 -1
- package/dist/adapters/http/middleware/built-in/error.mjs.map +1 -1
- package/dist/adapters/http/ui/console-packages/module.d.ts +1 -1
- package/dist/adapters/http/ui/console-packages/module.mjs +2 -2
- package/dist/adapters/http/ui/console-packages/module.mjs.map +1 -1
- package/dist/app/modules/config/normalize.d.ts.map +1 -1
- package/dist/app/modules/config/normalize.mjs +2 -2
- package/dist/app/modules/config/normalize.mjs.map +1 -1
- package/dist/app/modules/config/types.d.ts +8 -0
- package/dist/app/modules/config/types.d.ts.map +1 -1
- package/dist/app/modules/database/repositories/identity-provider/repository.d.ts +3 -1
- package/dist/app/modules/database/repositories/identity-provider/repository.d.ts.map +1 -1
- package/dist/app/modules/database/repositories/identity-provider/repository.mjs +2 -2
- package/dist/app/modules/database/repositories/identity-provider/repository.mjs.map +1 -1
- package/dist/app/modules/http/modules/controller.d.ts.map +1 -1
- package/dist/app/modules/http/modules/controller.mjs +5 -2
- package/dist/app/modules/http/modules/controller.mjs.map +1 -1
- package/dist/app/modules/oauth2/constants.d.ts +2 -1
- package/dist/app/modules/oauth2/constants.d.ts.map +1 -1
- package/dist/app/modules/oauth2/constants.mjs +1 -0
- package/dist/app/modules/oauth2/constants.mjs.map +1 -1
- package/dist/app/modules/oauth2/module.d.ts.map +1 -1
- package/dist/app/modules/oauth2/module.mjs +5 -0
- package/dist/app/modules/oauth2/module.mjs.map +1 -1
- package/dist/app/modules/oauth2/repositories/constants.d.ts +1 -0
- package/dist/app/modules/oauth2/repositories/constants.d.ts.map +1 -1
- package/dist/app/modules/oauth2/repositories/constants.mjs +1 -0
- package/dist/app/modules/oauth2/repositories/constants.mjs.map +1 -1
- package/dist/app/modules/oauth2/repositories/federated-login/index.d.ts +2 -0
- package/dist/app/modules/oauth2/repositories/federated-login/index.d.ts.map +1 -0
- package/dist/app/modules/oauth2/repositories/federated-login/index.mjs +5 -0
- package/dist/app/modules/oauth2/repositories/federated-login/store.d.ts +9 -0
- package/dist/app/modules/oauth2/repositories/federated-login/store.d.ts.map +1 -0
- package/dist/app/modules/oauth2/repositories/federated-login/store.mjs +33 -0
- package/dist/app/modules/oauth2/repositories/federated-login/store.mjs.map +1 -0
- package/dist/app/modules/oauth2/repositories/index.d.ts +1 -0
- package/dist/app/modules/oauth2/repositories/index.d.ts.map +1 -1
- package/dist/app/modules/oauth2/repositories/index.mjs +3 -1
- package/dist/core/entities/event/entity-event-handler.d.ts.map +1 -1
- package/dist/core/entities/event/entity-event-handler.mjs +14 -1
- package/dist/core/entities/event/entity-event-handler.mjs.map +1 -1
- package/dist/core/entities/identity-provider/types.d.ts +9 -1
- package/dist/core/entities/identity-provider/types.d.ts.map +1 -1
- package/dist/core/identity/index.mjs +2 -1
- package/dist/core/identity/provider/account/module.mjs +1 -1
- package/dist/core/identity/provider/authentication/index.mjs +2 -1
- package/dist/core/identity/provider/authentication/protocols/index.mjs +2 -1
- package/dist/core/identity/provider/authentication/protocols/oauth2/assurance.d.ts +46 -0
- package/dist/core/identity/provider/authentication/protocols/oauth2/assurance.d.ts.map +1 -0
- package/dist/core/identity/provider/authentication/protocols/oauth2/assurance.mjs +89 -0
- package/dist/core/identity/provider/authentication/protocols/oauth2/assurance.mjs.map +1 -0
- package/dist/core/identity/provider/authentication/protocols/oauth2/index.d.ts +1 -0
- package/dist/core/identity/provider/authentication/protocols/oauth2/index.d.ts.map +1 -1
- package/dist/core/identity/provider/authentication/protocols/oauth2/index.mjs +2 -1
- package/dist/core/identity/provider/authentication/protocols/oauth2/module.d.ts.map +1 -1
- package/dist/core/identity/provider/authentication/protocols/oauth2/module.mjs +9 -2
- package/dist/core/identity/provider/authentication/protocols/oauth2/module.mjs.map +1 -1
- package/dist/core/identity/provider/index.mjs +2 -1
- package/dist/core/index.mjs +4 -2
- package/dist/core/oauth2/authorization/helpers.d.ts.map +1 -1
- package/dist/core/oauth2/authorization/helpers.mjs +6 -1
- package/dist/core/oauth2/authorization/helpers.mjs.map +1 -1
- package/dist/core/oauth2/authorization/module.d.ts.map +1 -1
- package/dist/core/oauth2/authorization/module.mjs +5 -3
- package/dist/core/oauth2/authorization/module.mjs.map +1 -1
- package/dist/core/oauth2/authorization/state/types.d.ts +8 -0
- package/dist/core/oauth2/authorization/state/types.d.ts.map +1 -1
- package/dist/core/oauth2/federated-login/constants.d.ts +22 -0
- package/dist/core/oauth2/federated-login/constants.d.ts.map +1 -0
- package/dist/core/oauth2/federated-login/constants.mjs +27 -0
- package/dist/core/oauth2/federated-login/constants.mjs.map +1 -0
- package/dist/core/oauth2/federated-login/index.d.ts +1 -0
- package/dist/core/oauth2/federated-login/index.d.ts.map +1 -1
- package/dist/core/oauth2/federated-login/index.mjs +2 -1
- package/dist/core/oauth2/federated-login/module.d.ts +12 -3
- package/dist/core/oauth2/federated-login/module.d.ts.map +1 -1
- package/dist/core/oauth2/federated-login/module.mjs +96 -40
- package/dist/core/oauth2/federated-login/module.mjs.map +1 -1
- package/dist/core/oauth2/federated-login/types.d.ts +82 -24
- package/dist/core/oauth2/federated-login/types.d.ts.map +1 -1
- package/dist/core/oauth2/federated-login/types.mjs +5 -0
- package/dist/core/oauth2/federated-login/types.mjs.map +1 -1
- package/dist/core/oauth2/grant-types/authorize.mjs +1 -1
- package/dist/core/oauth2/grant-types/client-credentials.mjs +1 -1
- package/dist/core/oauth2/grant-types/identity.mjs +1 -1
- package/dist/core/oauth2/grant-types/password.mjs +1 -1
- package/dist/core/oauth2/grant-types/refresh-token.mjs +1 -1
- package/dist/core/oauth2/index.mjs +3 -2
- package/dist/core/oauth2/token/verifier/module.d.ts.map +1 -1
- package/dist/core/oauth2/token/verifier/module.mjs +3 -3
- package/dist/core/oauth2/token/verifier/module.mjs.map +1 -1
- package/dist/swagger.json +107 -59
- package/package.json +13 -13
package/dist/swagger.json
CHANGED
|
@@ -3619,6 +3619,45 @@
|
|
|
3619
3619
|
"type": "object",
|
|
3620
3620
|
"description": "Response of `POST /identity-providers/:id/link-request` (plan 091):\nthe external provider's authorize URL the browser navigates to."
|
|
3621
3621
|
},
|
|
3622
|
+
"OAuth2TokenGrantResponse": {
|
|
3623
|
+
"properties": {
|
|
3624
|
+
"scope": {
|
|
3625
|
+
"type": "string"
|
|
3626
|
+
},
|
|
3627
|
+
"mac_algorithm": {
|
|
3628
|
+
"type": "string"
|
|
3629
|
+
},
|
|
3630
|
+
"mac_key": {
|
|
3631
|
+
"type": "string"
|
|
3632
|
+
},
|
|
3633
|
+
"id_token": {
|
|
3634
|
+
"type": "string"
|
|
3635
|
+
},
|
|
3636
|
+
"token_type": {
|
|
3637
|
+
"type": "string"
|
|
3638
|
+
},
|
|
3639
|
+
"expires_in": {
|
|
3640
|
+
"type": "number",
|
|
3641
|
+
"format": "double"
|
|
3642
|
+
},
|
|
3643
|
+
"refresh_token_expires_in": {
|
|
3644
|
+
"type": "number",
|
|
3645
|
+
"format": "double"
|
|
3646
|
+
},
|
|
3647
|
+
"refresh_token": {
|
|
3648
|
+
"type": "string"
|
|
3649
|
+
},
|
|
3650
|
+
"access_token": {
|
|
3651
|
+
"type": "string"
|
|
3652
|
+
}
|
|
3653
|
+
},
|
|
3654
|
+
"required": [
|
|
3655
|
+
"token_type",
|
|
3656
|
+
"expires_in",
|
|
3657
|
+
"access_token"
|
|
3658
|
+
],
|
|
3659
|
+
"type": "object"
|
|
3660
|
+
},
|
|
3622
3661
|
"IdentityProviderAccount": {
|
|
3623
3662
|
"properties": {
|
|
3624
3663
|
"id": {
|
|
@@ -4773,45 +4812,6 @@
|
|
|
4773
4812
|
],
|
|
4774
4813
|
"type": "object"
|
|
4775
4814
|
},
|
|
4776
|
-
"OAuth2TokenGrantResponse": {
|
|
4777
|
-
"properties": {
|
|
4778
|
-
"scope": {
|
|
4779
|
-
"type": "string"
|
|
4780
|
-
},
|
|
4781
|
-
"mac_algorithm": {
|
|
4782
|
-
"type": "string"
|
|
4783
|
-
},
|
|
4784
|
-
"mac_key": {
|
|
4785
|
-
"type": "string"
|
|
4786
|
-
},
|
|
4787
|
-
"id_token": {
|
|
4788
|
-
"type": "string"
|
|
4789
|
-
},
|
|
4790
|
-
"token_type": {
|
|
4791
|
-
"type": "string"
|
|
4792
|
-
},
|
|
4793
|
-
"expires_in": {
|
|
4794
|
-
"type": "number",
|
|
4795
|
-
"format": "double"
|
|
4796
|
-
},
|
|
4797
|
-
"refresh_token_expires_in": {
|
|
4798
|
-
"type": "number",
|
|
4799
|
-
"format": "double"
|
|
4800
|
-
},
|
|
4801
|
-
"refresh_token": {
|
|
4802
|
-
"type": "string"
|
|
4803
|
-
},
|
|
4804
|
-
"access_token": {
|
|
4805
|
-
"type": "string"
|
|
4806
|
-
}
|
|
4807
|
-
},
|
|
4808
|
-
"required": [
|
|
4809
|
-
"token_type",
|
|
4810
|
-
"expires_in",
|
|
4811
|
-
"access_token"
|
|
4812
|
-
],
|
|
4813
|
-
"type": "object"
|
|
4814
|
-
},
|
|
4815
4815
|
"UserAuthenticatorChallengeVerifyResponse": {
|
|
4816
4816
|
"properties": {
|
|
4817
4817
|
"token": {
|
|
@@ -5181,10 +5181,6 @@
|
|
|
5181
5181
|
"type": "string",
|
|
5182
5182
|
"description": "Scopes (e.g. \"scope1 scope2\")"
|
|
5183
5183
|
},
|
|
5184
|
-
"sub_name": {
|
|
5185
|
-
"type": "string",
|
|
5186
|
-
"description": "Subject name"
|
|
5187
|
-
},
|
|
5188
5184
|
"sub_kind": {
|
|
5189
5185
|
"type": "string",
|
|
5190
5186
|
"enum": [
|
|
@@ -9681,14 +9677,7 @@
|
|
|
9681
9677
|
"content": {
|
|
9682
9678
|
"application/json": {
|
|
9683
9679
|
"schema": {
|
|
9684
|
-
"
|
|
9685
|
-
{
|
|
9686
|
-
"type": "string"
|
|
9687
|
-
},
|
|
9688
|
-
{
|
|
9689
|
-
"$ref": "#/components/schemas/Response"
|
|
9690
|
-
}
|
|
9691
|
-
]
|
|
9680
|
+
"$ref": "#/components/schemas/Response"
|
|
9692
9681
|
}
|
|
9693
9682
|
}
|
|
9694
9683
|
}
|
|
@@ -9721,14 +9710,73 @@
|
|
|
9721
9710
|
"content": {
|
|
9722
9711
|
"application/json": {
|
|
9723
9712
|
"schema": {
|
|
9724
|
-
"
|
|
9725
|
-
|
|
9726
|
-
|
|
9727
|
-
|
|
9728
|
-
|
|
9729
|
-
|
|
9730
|
-
|
|
9731
|
-
|
|
9713
|
+
"$ref": "#/components/schemas/Response"
|
|
9714
|
+
}
|
|
9715
|
+
}
|
|
9716
|
+
}
|
|
9717
|
+
}
|
|
9718
|
+
},
|
|
9719
|
+
"description": "",
|
|
9720
|
+
"tags": [],
|
|
9721
|
+
"parameters": [
|
|
9722
|
+
{
|
|
9723
|
+
"allowEmptyValue": false,
|
|
9724
|
+
"deprecated": false,
|
|
9725
|
+
"description": "",
|
|
9726
|
+
"in": "path",
|
|
9727
|
+
"name": "id",
|
|
9728
|
+
"required": true,
|
|
9729
|
+
"schema": {
|
|
9730
|
+
"type": "string"
|
|
9731
|
+
},
|
|
9732
|
+
"examples": {}
|
|
9733
|
+
}
|
|
9734
|
+
]
|
|
9735
|
+
}
|
|
9736
|
+
},
|
|
9737
|
+
"/identity-providers/{id}/login-complete": {
|
|
9738
|
+
"post": {
|
|
9739
|
+
"operationId": "CompleteLogin",
|
|
9740
|
+
"responses": {
|
|
9741
|
+
"200": {
|
|
9742
|
+
"description": "Ok",
|
|
9743
|
+
"content": {
|
|
9744
|
+
"application/json": {
|
|
9745
|
+
"schema": {
|
|
9746
|
+
"$ref": "#/components/schemas/OAuth2TokenGrantResponse"
|
|
9747
|
+
}
|
|
9748
|
+
}
|
|
9749
|
+
}
|
|
9750
|
+
}
|
|
9751
|
+
},
|
|
9752
|
+
"description": "",
|
|
9753
|
+
"tags": [],
|
|
9754
|
+
"parameters": [
|
|
9755
|
+
{
|
|
9756
|
+
"allowEmptyValue": false,
|
|
9757
|
+
"deprecated": false,
|
|
9758
|
+
"description": "",
|
|
9759
|
+
"in": "path",
|
|
9760
|
+
"name": "id",
|
|
9761
|
+
"required": true,
|
|
9762
|
+
"schema": {
|
|
9763
|
+
"type": "string"
|
|
9764
|
+
},
|
|
9765
|
+
"examples": {}
|
|
9766
|
+
}
|
|
9767
|
+
]
|
|
9768
|
+
}
|
|
9769
|
+
},
|
|
9770
|
+
"/realms/{realmId}/identity-providers/{id}/login-complete": {
|
|
9771
|
+
"post": {
|
|
9772
|
+
"operationId": "CompleteLogin_2",
|
|
9773
|
+
"responses": {
|
|
9774
|
+
"200": {
|
|
9775
|
+
"description": "Ok",
|
|
9776
|
+
"content": {
|
|
9777
|
+
"application/json": {
|
|
9778
|
+
"schema": {
|
|
9779
|
+
"$ref": "#/components/schemas/OAuth2TokenGrantResponse"
|
|
9732
9780
|
}
|
|
9733
9781
|
}
|
|
9734
9782
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@authup/server-core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.0-beta.
|
|
4
|
+
"version": "1.0.0-beta.63",
|
|
5
5
|
"description": "This is a standalone application.",
|
|
6
6
|
"license": "AGPL-3.0-only",
|
|
7
7
|
"main": "dist/index.mjs",
|
|
@@ -67,16 +67,16 @@
|
|
|
67
67
|
},
|
|
68
68
|
"homepage": "https://github.com/authup/authup#readme",
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@authup/access": "^1.0.0-beta.
|
|
71
|
-
"@authup/client-account-console": "^1.0.0-beta.
|
|
72
|
-
"@authup/client-auth-console": "^1.0.0-beta.
|
|
73
|
-
"@authup/core-http-kit": "^1.0.0-beta.
|
|
74
|
-
"@authup/core-kit": "^1.0.0-beta.
|
|
75
|
-
"@authup/errors": "^1.0.0-beta.
|
|
76
|
-
"@authup/i18n": "^1.0.0-beta.
|
|
77
|
-
"@authup/kit": "^1.0.0-beta.
|
|
78
|
-
"@authup/server-kit": "^1.0.0-beta.
|
|
79
|
-
"@authup/specs": "^1.0.0-beta.
|
|
70
|
+
"@authup/access": "^1.0.0-beta.63",
|
|
71
|
+
"@authup/client-account-console": "^1.0.0-beta.63",
|
|
72
|
+
"@authup/client-auth-console": "^1.0.0-beta.63",
|
|
73
|
+
"@authup/core-http-kit": "^1.0.0-beta.63",
|
|
74
|
+
"@authup/core-kit": "^1.0.0-beta.63",
|
|
75
|
+
"@authup/errors": "^1.0.0-beta.63",
|
|
76
|
+
"@authup/i18n": "^1.0.0-beta.63",
|
|
77
|
+
"@authup/kit": "^1.0.0-beta.63",
|
|
78
|
+
"@authup/server-kit": "^1.0.0-beta.63",
|
|
79
|
+
"@authup/specs": "^1.0.0-beta.63",
|
|
80
80
|
"@ebec/http": "^4.2.0",
|
|
81
81
|
"@hapic/oauth2": "^4.0.2",
|
|
82
82
|
"@peculiar/x509": "^2.0.0",
|
|
@@ -126,8 +126,8 @@
|
|
|
126
126
|
"zod": "^4.4.3"
|
|
127
127
|
},
|
|
128
128
|
"devDependencies": {
|
|
129
|
-
"@authup/server-test-kit": "^1.0.0-beta.
|
|
130
|
-
"@faker-js/faker": "^10.
|
|
129
|
+
"@authup/server-test-kit": "^1.0.0-beta.63",
|
|
130
|
+
"@faker-js/faker": "^10.6.0",
|
|
131
131
|
"@trapi/cli": "^2.0.5",
|
|
132
132
|
"@types/ldapjs": "^3.0.6",
|
|
133
133
|
"@types/nodemailer": "^8.0.0",
|