@backstage/plugin-auth-backend 0.18.6-next.1 → 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,15 @@
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
+
3
13
  ## 0.18.6-next.1
4
14
 
5
15
  ### 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;
@@ -158,6 +165,7 @@ export interface Config {
158
165
  prompt?: string;
159
166
  };
160
167
  };
168
+ /** @visibility frontend */
161
169
  auth0?: {
162
170
  [authEnv: string]: {
163
171
  clientId: string;
@@ -172,6 +180,7 @@ export interface Config {
172
180
  connectionScope?: string;
173
181
  };
174
182
  };
183
+ /** @visibility frontend */
175
184
  microsoft?: {
176
185
  [authEnv: string]: {
177
186
  clientId: string;
@@ -183,6 +192,7 @@ export interface Config {
183
192
  callbackUrl?: string;
184
193
  };
185
194
  };
195
+ /** @visibility frontend */
186
196
  onelogin?: {
187
197
  [authEnv: string]: {
188
198
  clientId: string;
@@ -194,10 +204,12 @@ export interface Config {
194
204
  callbackUrl?: string;
195
205
  };
196
206
  };
207
+ /** @visibility frontend */
197
208
  awsalb?: {
198
209
  iss?: string;
199
210
  region: string;
200
211
  };
212
+ /** @visibility frontend */
201
213
  cfaccess?: {
202
214
  teamName: string;
203
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) {