@backstage/plugin-auth-backend-module-oidc-provider 0.0.0-nightly-20241008023419 → 0.0.0-nightly-20241009023248
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/CHANGELOG.md +15 -4
- package/config.d.ts +4 -1
- package/dist/index.d.ts +3 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,14 +1,25 @@
|
|
|
1
1
|
# @backstage/plugin-auth-backend-module-oidc-provider
|
|
2
2
|
|
|
3
|
-
## 0.0.0-nightly-
|
|
3
|
+
## 0.0.0-nightly-20241009023248
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
+
- 217458a: Updated configuration schema to include the new `allowedDomains` option for the `emailLocalPartMatchingUserEntityName` sign-in resolver.
|
|
7
8
|
- 094eaa3: Remove references to in-repo backend-common
|
|
8
9
|
- Updated dependencies
|
|
9
|
-
- @backstage/plugin-auth-
|
|
10
|
-
- @backstage/plugin-auth-
|
|
11
|
-
- @backstage/backend-plugin-api@0.0.0-nightly-
|
|
10
|
+
- @backstage/plugin-auth-node@0.0.0-nightly-20241009023248
|
|
11
|
+
- @backstage/plugin-auth-backend@0.0.0-nightly-20241009023248
|
|
12
|
+
- @backstage/backend-plugin-api@0.0.0-nightly-20241009023248
|
|
13
|
+
|
|
14
|
+
## 0.3.1-next.1
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- 217458a: Updated configuration schema to include the new `allowedDomains` option for the `emailLocalPartMatchingUserEntityName` sign-in resolver.
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
- @backstage/plugin-auth-node@0.5.3-next.1
|
|
21
|
+
- @backstage/backend-plugin-api@1.0.1-next.1
|
|
22
|
+
- @backstage/plugin-auth-backend@0.23.1-next.1
|
|
12
23
|
|
|
13
24
|
## 0.3.1-next.0
|
|
14
25
|
|
package/config.d.ts
CHANGED
|
@@ -33,7 +33,10 @@ export interface Config {
|
|
|
33
33
|
prompt?: string;
|
|
34
34
|
signIn?: {
|
|
35
35
|
resolvers: Array<
|
|
36
|
-
| {
|
|
36
|
+
| {
|
|
37
|
+
resolver: 'emailLocalPartMatchingUserEntityName';
|
|
38
|
+
allowedDomains?: string[];
|
|
39
|
+
}
|
|
37
40
|
| { resolver: 'emailMatchingUserEntityProfileEmail' }
|
|
38
41
|
>;
|
|
39
42
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -36,7 +36,9 @@ declare namespace oidcSignInResolvers {
|
|
|
36
36
|
* A oidc resolver that looks up the user using the local part of
|
|
37
37
|
* their email address as the entity name.
|
|
38
38
|
*/
|
|
39
|
-
const emailLocalPartMatchingUserEntityName: _backstage_plugin_auth_node.SignInResolverFactory<unknown,
|
|
39
|
+
const emailLocalPartMatchingUserEntityName: _backstage_plugin_auth_node.SignInResolverFactory<unknown, {
|
|
40
|
+
allowedDomains?: string[] | undefined;
|
|
41
|
+
} | undefined>;
|
|
40
42
|
/**
|
|
41
43
|
* A oidc resolver that looks up the user using their email address
|
|
42
44
|
* as email of the entity.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-auth-backend-module-oidc-provider",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20241009023248",
|
|
4
4
|
"description": "The oidc-provider backend module for the auth plugin.",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "backend-plugin-module",
|
|
@@ -35,17 +35,17 @@
|
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@backstage/backend-common": "^0.25.0",
|
|
38
|
-
"@backstage/backend-plugin-api": "0.0.0-nightly-
|
|
39
|
-
"@backstage/plugin-auth-backend": "0.0.0-nightly-
|
|
40
|
-
"@backstage/plugin-auth-node": "0.0.0-nightly-
|
|
38
|
+
"@backstage/backend-plugin-api": "0.0.0-nightly-20241009023248",
|
|
39
|
+
"@backstage/plugin-auth-backend": "0.0.0-nightly-20241009023248",
|
|
40
|
+
"@backstage/plugin-auth-node": "0.0.0-nightly-20241009023248",
|
|
41
41
|
"express": "^4.18.2",
|
|
42
42
|
"openid-client": "^5.5.0",
|
|
43
43
|
"passport": "^0.7.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@backstage/backend-defaults": "0.0.0-nightly-
|
|
47
|
-
"@backstage/backend-test-utils": "0.0.0-nightly-
|
|
48
|
-
"@backstage/cli": "0.0.0-nightly-
|
|
46
|
+
"@backstage/backend-defaults": "0.0.0-nightly-20241009023248",
|
|
47
|
+
"@backstage/backend-test-utils": "0.0.0-nightly-20241009023248",
|
|
48
|
+
"@backstage/cli": "0.0.0-nightly-20241009023248",
|
|
49
49
|
"@backstage/config": "1.2.0",
|
|
50
50
|
"cookie-parser": "^1.4.6",
|
|
51
51
|
"express-promise-router": "^4.1.1",
|