@mcp-abap-adt/auth-providers 1.0.2 → 1.0.3

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
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [1.0.3] - 2026-02-11
11
+
12
+ ### Fixed
13
+ - Always send Basic auth header for OIDC password grant, even with empty client secret (CF passcode).
14
+
15
+
10
16
  ## [1.0.2] - 2026-02-11
11
17
 
12
18
  ### Added
@@ -17,7 +17,7 @@ function toBasicAuth(clientId, clientSecret) {
17
17
  return Buffer.from(`${clientId}:${clientSecret}`).toString('base64');
18
18
  }
19
19
  function buildAuthHeaders(clientId, clientSecret) {
20
- if (clientSecret) {
20
+ if (clientSecret !== undefined) {
21
21
  return { Authorization: `Basic ${toBasicAuth(clientId, clientSecret)}` };
22
22
  }
23
23
  return {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcp-abap-adt/auth-providers",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Token providers for MCP ABAP ADT auth-broker",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",