@backstage/plugin-auth-backend 0.18.4 → 0.18.5-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 CHANGED
@@ -1,5 +1,26 @@
1
1
  # @backstage/plugin-auth-backend
2
2
 
3
+ ## 0.18.5-next.1
4
+
5
+ ### Patch Changes
6
+
7
+ - c27ae5004fc2: Support for Token Endpoint Auth Method for OIDC Provider
8
+ - Updated dependencies
9
+ - @backstage/config@1.0.8
10
+
11
+ ## 0.18.5-next.0
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+ - @backstage/errors@1.2.1-next.0
17
+ - @backstage/backend-common@0.19.1-next.0
18
+ - @backstage/catalog-client@1.4.3-next.0
19
+ - @backstage/catalog-model@1.4.1-next.0
20
+ - @backstage/config@1.0.8
21
+ - @backstage/types@1.1.0
22
+ - @backstage/plugin-auth-node@0.2.16-next.0
23
+
3
24
  ## 0.18.4
4
25
 
5
26
  ### Patch Changes
package/dist/index.cjs.js CHANGED
@@ -2307,6 +2307,7 @@ class OidcAuthProvider {
2307
2307
  client_secret: options.clientSecret,
2308
2308
  redirect_uris: [options.callbackUrl],
2309
2309
  response_types: ["code"],
2310
+ token_endpoint_auth_method: options.tokenEndpointAuthMethod || "client_secret_basic",
2310
2311
  id_token_signed_response_alg: options.tokenSignedResponseAlg || "RS256",
2311
2312
  scope: options.scope || ""
2312
2313
  });
@@ -2369,6 +2370,9 @@ const oidc = createAuthProviderIntegration({
2369
2370
  const customCallbackUrl = envConfig.getOptionalString("callbackUrl");
2370
2371
  const callbackUrl = customCallbackUrl || `${globalConfig.baseUrl}/${providerId}/handler/frame`;
2371
2372
  const metadataUrl = envConfig.getString("metadataUrl");
2373
+ const tokenEndpointAuthMethod = envConfig.getOptionalString(
2374
+ "tokenEndpointAuthMethod"
2375
+ );
2372
2376
  const tokenSignedResponseAlg = envConfig.getOptionalString(
2373
2377
  "tokenSignedResponseAlg"
2374
2378
  );
@@ -2385,6 +2389,7 @@ const oidc = createAuthProviderIntegration({
2385
2389
  clientId,
2386
2390
  clientSecret,
2387
2391
  callbackUrl,
2392
+ tokenEndpointAuthMethod,
2388
2393
  tokenSignedResponseAlg,
2389
2394
  metadataUrl,
2390
2395
  scope,