@backstage/plugin-auth-backend 0.17.0-next.2 → 0.17.1-next.0
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 +39 -0
- package/README.md +3 -3
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,44 @@
|
|
|
1
1
|
# @backstage/plugin-auth-backend
|
|
2
2
|
|
|
3
|
+
## 0.17.1-next.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- cbe11d1e23: Tweak README
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @backstage/backend-common@0.16.0-next.0
|
|
10
|
+
- @backstage/catalog-model@1.1.3-next.0
|
|
11
|
+
- @backstage/plugin-auth-node@0.2.7-next.0
|
|
12
|
+
- @backstage/types@1.0.1-next.0
|
|
13
|
+
- @backstage/catalog-client@1.1.2-next.0
|
|
14
|
+
- @backstage/config@1.0.4-next.0
|
|
15
|
+
- @backstage/errors@1.1.3-next.0
|
|
16
|
+
|
|
17
|
+
## 0.17.0
|
|
18
|
+
|
|
19
|
+
### Minor Changes
|
|
20
|
+
|
|
21
|
+
- e2dc42e9f0: Google OAuth refresh tokens will now be revoked on logout by calling Google's API
|
|
22
|
+
- 5fa831ce55: CookieConfigurer can optionally return the `SameSite` cookie attribute.
|
|
23
|
+
CookieConfigurer now requires an additional argument `appOrigin` - the origin URL of the app - which is used to calculate the `SameSite` attribute.
|
|
24
|
+
defaultCookieConfigurer returns the `SameSite` attribute which defaults to `Lax`. In cases where an auth-backend is running on a different domain than the App, `SameSite=None` is used - but only for secure contexts. This is so that cookies can be included in third-party requests.
|
|
25
|
+
|
|
26
|
+
OAuthAdapterOptions has been modified to require additional arguments, `baseUrl`, and `cookieConfigurer`.
|
|
27
|
+
OAuthAdapter now resolves cookie configuration using its supplied CookieConfigurer for each request to make sure that the proper attributes always are set.
|
|
28
|
+
|
|
29
|
+
### Patch Changes
|
|
30
|
+
|
|
31
|
+
- b5c126010c: Auth0 provider now supports optional `connection` and `connectionScope` parameters to configure social identity providers.
|
|
32
|
+
- 8c6ec175bf: Fix GitLab provider setup so that it supports GitLab installations with a path in the URL.
|
|
33
|
+
- Updated dependencies
|
|
34
|
+
- @backstage/catalog-model@1.1.2
|
|
35
|
+
- @backstage/backend-common@0.15.2
|
|
36
|
+
- @backstage/plugin-auth-node@0.2.6
|
|
37
|
+
- @backstage/catalog-client@1.1.1
|
|
38
|
+
- @backstage/config@1.0.3
|
|
39
|
+
- @backstage/errors@1.1.2
|
|
40
|
+
- @backstage/types@1.0.0
|
|
41
|
+
|
|
3
42
|
## 0.17.0-next.2
|
|
4
43
|
|
|
5
44
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -91,9 +91,9 @@ export AUTH_GITLAB_CLIENT_SECRET=x
|
|
|
91
91
|
|
|
92
92
|
Add a new Okta application using the following URI conventions:
|
|
93
93
|
|
|
94
|
-
Login redirect
|
|
95
|
-
Logout redirect
|
|
96
|
-
Initiate login
|
|
94
|
+
Login redirect URIs: `http://localhost:7007/api/auth/okta/handler/frame`
|
|
95
|
+
Logout redirect URIs: `http://localhost:7007/api/auth/okta/logout`
|
|
96
|
+
Initiate login URIs: `http://localhost:7007/api/auth/okta/start`
|
|
97
97
|
|
|
98
98
|
Then configure the following environment variables to be used in the `app-config.yaml` file:
|
|
99
99
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-auth-backend",
|
|
3
3
|
"description": "A Backstage backend plugin that handles authentication",
|
|
4
|
-
"version": "0.17.
|
|
4
|
+
"version": "0.17.1-next.0",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -32,13 +32,13 @@
|
|
|
32
32
|
"clean": "backstage-cli package clean"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@backstage/backend-common": "^0.
|
|
36
|
-
"@backstage/catalog-client": "^1.1.
|
|
37
|
-
"@backstage/catalog-model": "^1.1.
|
|
38
|
-
"@backstage/config": "^1.0.
|
|
39
|
-
"@backstage/errors": "^1.1.
|
|
40
|
-
"@backstage/plugin-auth-node": "^0.2.
|
|
41
|
-
"@backstage/types": "^1.0.0",
|
|
35
|
+
"@backstage/backend-common": "^0.16.0-next.0",
|
|
36
|
+
"@backstage/catalog-client": "^1.1.2-next.0",
|
|
37
|
+
"@backstage/catalog-model": "^1.1.3-next.0",
|
|
38
|
+
"@backstage/config": "^1.0.4-next.0",
|
|
39
|
+
"@backstage/errors": "^1.1.3-next.0",
|
|
40
|
+
"@backstage/plugin-auth-node": "^0.2.7-next.0",
|
|
41
|
+
"@backstage/types": "^1.0.1-next.0",
|
|
42
42
|
"@davidzemon/passport-okta-oauth": "^0.0.5",
|
|
43
43
|
"@google-cloud/firestore": "^6.0.0",
|
|
44
44
|
"@types/express": "^4.17.6",
|
|
@@ -76,8 +76,8 @@
|
|
|
76
76
|
"yn": "^4.0.0"
|
|
77
77
|
},
|
|
78
78
|
"devDependencies": {
|
|
79
|
-
"@backstage/backend-test-utils": "^0.1.
|
|
80
|
-
"@backstage/cli": "^0.
|
|
79
|
+
"@backstage/backend-test-utils": "^0.1.30-next.0",
|
|
80
|
+
"@backstage/cli": "^0.21.0-next.0",
|
|
81
81
|
"@types/body-parser": "^1.19.0",
|
|
82
82
|
"@types/cookie-parser": "^1.4.2",
|
|
83
83
|
"@types/express-session": "^1.17.2",
|