Repository navigation
feat(auth): recognise mku_-prefixed Make API keys - #123
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
JanKulhavy
enabled auto-merge (squash)
December 2, 2026 07:30
Uğur Oruç (Ketcap)
approved these changes
Dec 2, 2026
JanKulhavy
added a commit
to integromat/make-cli
that referenced
this pull request
Dec 2, 2026
## Summary Updates `@makehq/sdk` from `^1.3.0` to `^1.20.0` (package.json and package-lock.json only). - **Prefixed API tokens:** SDK 1.20.0 (integromat/make-typescript-sdk#123) recognises `mku_<uuid>` keys and sends them with the `Token` scheme. The CLI passes the key through as is, so `make` works with the new prefixed tokens without a code change. Bare-UUID tokens work exactly as before. - **More commands:** the CLI builds its commands from the SDK's `MakeTools`, so this update adds the SDK's newer tools. The command count goes from 130 to 241, and none are removed. New groups include functions, sdk-apps/endpoints/modules, event-subscriptions, scenario-labels, custom properties, templates, audit-logs and on-prem-agent. The CLI's own version is unchanged. Bump it in the usual separate `chore: bump version` commit when releasing. ## Testing - `npm test`: 4 suites / 104 tests pass, the same as on main. - `npm run lint`, `npm run build` and `npm run build:docs` succeed. docs/ is git-ignored, so no generated files are committed. - `npm ci --dry-run` passes on the new lockfile (Node 24.22.1 / npm 11.19.1). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://make.atlassian.net/browse/TECH-623
Summary
Make API tokens will be issued with a prefix:
mku_+ the token's usual dashed UUID, e.g.mku_2b58802d-d95a-4715-acd5-b65acaaef470.isAPIKeynow treatsmku_+ a UUIDv4 as an API key, as well as a bare UUIDv4, so such keys are sent asAuthorization: Token …instead ofBearer ….UUIDv4_RE); the prefix is stripped before the test.Bearer.Includes the minor version bump to 1.20.0:
package.jsonandpackage-lock.json, as in earlier bumps. The new behavior is a feature with no breaking change.Compatibility
The Make API also accepts
Bearer mku_…, so older SDK versions keep working with prefixed keys.Tests
test/make.spec.tspins the authorization scheme for a UUID, anmku_key and a non-key.test/utils.spec.tscovers:mku_+ UUID, including an uppercase UUIDMKU_prefix, an undashed body, a non-v4 UUID, extra characters,mku_alone and a trailing newlinenpm test: 600 passed.npm run lintandnpm run buildpass.🤖 Generated with Claude Code