Skip to content

Adds docs for JWT M2M Tokens#3133

Merged
brunol95 merged 13 commits intomainfrom
bruno/jwt-m2m-tokens
Mar 5, 2026
Merged

Adds docs for JWT M2M Tokens#3133
brunol95 merged 13 commits intomainfrom
bruno/jwt-m2m-tokens

Conversation

@brunol95
Copy link
Contributor

@brunol95 brunol95 commented Feb 24, 2026

🔎 Previews:

What does this solve? What changed?

We are adding the ability to create M2M tokens as a jwt. This PR updates the relevant documentation on

  • how to create a JWT style M2M token
  • opaque vs jwt m2m token information

Deadline

No rush

@brunol95 brunol95 requested a review from a team as a code owner February 24, 2026 19:28
@vercel
Copy link

vercel bot commented Feb 24, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
clerk-docs Ready Ready Preview Mar 5, 2026 3:58pm

Request Review

Copy link
Member

@BrandonRomano BrandonRomano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This LGTM - I would also wait for approval from @jescalan here as well!

@wobsoriano
Copy link
Member

@brunol95 added blocked label for now as the SDK PR is still awaiting review and release clerk/javascript#7883

@brunol95 brunol95 marked this pull request as draft February 24, 2026 21:48
Copy link
Member

@wobsoriano wobsoriano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯


You can then fulfill the request, or reject it if the token is invalid.

> [!NOTE]
Copy link
Contributor

@SarahSoutoul SarahSoutoul Feb 25, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two things on this:

  1. I think this callout should also be added to this page: https://clerk.com/docs/pr/bruno-jwt-m2m-tokens/reference/backend/m2m-tokens/verify-token?
  2. This method getTokens() doesnt seem to be documented in this page or the JS Backend SDK M2M Tokens methods?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the doc for the method will be added in https://github.com/clerk/clerk-docs/pull/3165/changes

@manovotny
Copy link
Contributor

The image changes on this PR are not expected. I reverted them in 2f3d592 and ace494c.

Seems there's a flaw in our check image script, which I'm addressing in #3140.

@brunol95 brunol95 requested a review from SarahSoutoul March 4, 2026 15:17
@brunol95 brunol95 marked this pull request as ready for review March 4, 2026 17:07
@SarahSoutoul
Copy link
Contributor

@brunol95 Okay submitted a docs review. But all looks good to me. Let me know what you think of the changes and I'll approve!

@brunol95
Copy link
Contributor Author

brunol95 commented Mar 5, 2026

@brunol95 Okay submitted a docs review. But all looks good to me. Let me know what you think of the changes and I'll approve!

@SarahSoutoul I pushed one more commit. Thank you for the review! I think its good to go.

Copy link
Contributor

@SarahSoutoul SarahSoutoul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to go! Thank you @brunol95

@brunol95 brunol95 merged commit 8b44550 into main Mar 5, 2026
8 checks passed
@brunol95 brunol95 deleted the bruno/jwt-m2m-tokens branch March 5, 2026 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants