@backstage/plugin-auth-backend 0.18.6-next.0 → 0.18.6-next.2

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 CHANGED
@@ -1,5 +1,29 @@
1
1
  # @backstage/plugin-auth-backend
2
2
 
3
+ ## 0.18.6-next.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 16452cd007ae: Updated `frameHandler` to return `undefined` when using the redirect flow instead of returning `postMessageReponse` which was causing errors
8
+ - bb70a9c3886a: Add frontend visibility to provider objects in `auth` config.
9
+ - Updated dependencies
10
+ - @backstage/backend-common@0.19.2-next.2
11
+ - @backstage/plugin-auth-node@0.2.17-next.2
12
+
13
+ ## 0.18.6-next.1
14
+
15
+ ### Patch Changes
16
+
17
+ - 9dad4b0e61bd: Updated config schema to match what was being used in code
18
+ - Updated dependencies
19
+ - @backstage/backend-common@0.19.2-next.1
20
+ - @backstage/plugin-auth-node@0.2.17-next.1
21
+ - @backstage/catalog-client@1.4.3
22
+ - @backstage/catalog-model@1.4.1
23
+ - @backstage/config@1.0.8
24
+ - @backstage/errors@1.2.1
25
+ - @backstage/types@1.1.0
26
+
3
27
  ## 0.18.6-next.0
4
28
 
5
29
  ### Patch Changes
package/config.d.ts CHANGED
@@ -62,6 +62,7 @@ export interface Config {
62
62
  * @additionalProperties true
63
63
  */
64
64
  providers?: {
65
+ /** @visibility frontend */
65
66
  google?: {
66
67
  [authEnv: string]: {
67
68
  clientId: string;
@@ -72,6 +73,7 @@ export interface Config {
72
73
  callbackUrl?: string;
73
74
  };
74
75
  };
76
+ /** @visibility frontend */
75
77
  github?: {
76
78
  [authEnv: string]: {
77
79
  clientId: string;
@@ -83,6 +85,7 @@ export interface Config {
83
85
  enterpriseInstanceUrl?: string;
84
86
  };
85
87
  };
88
+ /** @visibility frontend */
86
89
  gitlab?: {
87
90
  [authEnv: string]: {
88
91
  clientId: string;
@@ -94,6 +97,7 @@ export interface Config {
94
97
  callbackUrl?: string;
95
98
  };
96
99
  };
100
+ /** @visibility frontend */
97
101
  saml?: {
98
102
  entryPoint: string;
99
103
  logoutUrl?: string;
@@ -117,6 +121,7 @@ export interface Config {
117
121
  digestAlgorithm?: string;
118
122
  acceptedClockSkewMs?: number;
119
123
  };
124
+ /** @visibility frontend */
120
125
  okta?: {
121
126
  [authEnv: string]: {
122
127
  clientId: string;
@@ -130,6 +135,7 @@ export interface Config {
130
135
  callbackUrl?: string;
131
136
  };
132
137
  };
138
+ /** @visibility frontend */
133
139
  oauth2?: {
134
140
  [authEnv: string]: {
135
141
  clientId: string;
@@ -143,6 +149,7 @@ export interface Config {
143
149
  disableRefresh?: boolean;
144
150
  };
145
151
  };
152
+ /** @visibility frontend */
146
153
  oidc?: {
147
154
  [authEnv: string]: {
148
155
  clientId: string;
@@ -152,10 +159,13 @@ export interface Config {
152
159
  clientSecret: string;
153
160
  callbackUrl?: string;
154
161
  metadataUrl: string;
162
+ tokenEndpointAuthMethod?: string;
163
+ tokenSignedResponseAlg?: string;
155
164
  scope?: string;
156
165
  prompt?: string;
157
166
  };
158
167
  };
168
+ /** @visibility frontend */
159
169
  auth0?: {
160
170
  [authEnv: string]: {
161
171
  clientId: string;
@@ -170,6 +180,7 @@ export interface Config {
170
180
  connectionScope?: string;
171
181
  };
172
182
  };
183
+ /** @visibility frontend */
173
184
  microsoft?: {
174
185
  [authEnv: string]: {
175
186
  clientId: string;
@@ -181,6 +192,7 @@ export interface Config {
181
192
  callbackUrl?: string;
182
193
  };
183
194
  };
195
+ /** @visibility frontend */
184
196
  onelogin?: {
185
197
  [authEnv: string]: {
186
198
  clientId: string;
@@ -192,10 +204,12 @@ export interface Config {
192
204
  callbackUrl?: string;
193
205
  };
194
206
  };
207
+ /** @visibility frontend */
195
208
  awsalb?: {
196
209
  iss?: string;
197
210
  region: string;
198
211
  };
212
+ /** @visibility frontend */
199
213
  cfaccess?: {
200
214
  teamName: string;
201
215
  };
package/dist/index.cjs.js CHANGED
@@ -432,6 +432,7 @@ class OAuthAdapter {
432
432
  );
433
433
  }
434
434
  res.redirect(state.redirectUrl);
435
+ return void 0;
435
436
  }
436
437
  return postMessageResponse(res, appOrigin, responseObj);
437
438
  } catch (error) {