@backstage/plugin-auth-backend-module-guest-provider 0.0.0-nightly-20240305021008 → 0.1.0-next.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/CHANGELOG.md +6 -28
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,38 +1,16 @@
|
|
|
1
1
|
# @backstage/plugin-auth-backend-module-guest-provider
|
|
2
2
|
|
|
3
|
-
## 0.
|
|
4
|
-
|
|
5
|
-
### Minor Changes
|
|
6
|
-
|
|
7
|
-
- 1bedb23: Adds a new guest provider that maps guest users to actual tokens. This also shifts the default guest login to `user:development/guest` to reduce overlap with your production/real data. To change that (or set it back to the old default, use the new `auth.providers.guest.userEntityRef` config key) like so,
|
|
8
|
-
|
|
9
|
-
```yaml title=app-config.yaml
|
|
10
|
-
auth:
|
|
11
|
-
providers:
|
|
12
|
-
guest:
|
|
13
|
-
userEntityRef: user:default/guest
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
This also adds a new property to control the ownership entity refs,
|
|
17
|
-
|
|
18
|
-
```yaml title=app-config.yaml
|
|
19
|
-
auth:
|
|
20
|
-
providers:
|
|
21
|
-
guest:
|
|
22
|
-
ownershipEntityRefs:
|
|
23
|
-
- guests
|
|
24
|
-
- development/custom
|
|
25
|
-
```
|
|
3
|
+
## 0.1.0-next.1
|
|
26
4
|
|
|
27
5
|
### Patch Changes
|
|
28
6
|
|
|
29
7
|
- 72dd380: Ensure that the config schema is present
|
|
30
8
|
- Updated dependencies
|
|
31
|
-
- @backstage/backend-common@0.
|
|
32
|
-
- @backstage/plugin-
|
|
33
|
-
- @backstage/
|
|
34
|
-
- @backstage/
|
|
35
|
-
- @backstage/
|
|
9
|
+
- @backstage/backend-common@0.21.4-next.1
|
|
10
|
+
- @backstage/backend-plugin-api@0.6.14-next.1
|
|
11
|
+
- @backstage/plugin-auth-node@0.4.9-next.1
|
|
12
|
+
- @backstage/catalog-model@1.4.5-next.0
|
|
13
|
+
- @backstage/errors@1.2.4-next.0
|
|
36
14
|
|
|
37
15
|
## 0.1.0-next.0
|
|
38
16
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-auth-backend-module-guest-provider",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1.0-next.1",
|
|
4
4
|
"description": "The guest-provider backend module for the auth plugin.",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "backend-plugin-module"
|
|
@@ -32,17 +32,17 @@
|
|
|
32
32
|
"test": "backstage-cli package test"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@backstage/backend-common": "^0.
|
|
36
|
-
"@backstage/backend-plugin-api": "^0.
|
|
37
|
-
"@backstage/catalog-model": "^
|
|
38
|
-
"@backstage/errors": "^
|
|
39
|
-
"@backstage/plugin-auth-node": "^0.
|
|
35
|
+
"@backstage/backend-common": "^0.21.4-next.1",
|
|
36
|
+
"@backstage/backend-plugin-api": "^0.6.14-next.1",
|
|
37
|
+
"@backstage/catalog-model": "^1.4.5-next.0",
|
|
38
|
+
"@backstage/errors": "^1.2.4-next.0",
|
|
39
|
+
"@backstage/plugin-auth-node": "^0.4.9-next.1",
|
|
40
40
|
"passport-oauth2": "^1.7.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@backstage/backend-test-utils": "^0.
|
|
44
|
-
"@backstage/cli": "^0.
|
|
45
|
-
"@backstage/config": "^
|
|
43
|
+
"@backstage/backend-test-utils": "^0.3.4-next.1",
|
|
44
|
+
"@backstage/cli": "^0.25.3-next.1",
|
|
45
|
+
"@backstage/config": "^1.2.0-next.1",
|
|
46
46
|
"express": "^4.18.2"
|
|
47
47
|
},
|
|
48
48
|
"configSchema": "config.d.ts"
|