Skip to content

Translate JWT host field changes#4259

Merged
ethanpalm merged 1 commit intomainfrom
translate-auth-host-1773160981
Mar 10, 2026
Merged

Translate JWT host field changes#4259
ethanpalm merged 1 commit intomainfrom
translate-auth-host-1773160981

Conversation

@mintlify
Copy link
Contributor

@mintlify mintlify bot commented Mar 10, 2026

Summary

  • Added host field documentation to JWT authentication code examples in all three languages
  • Added host parameter description to user data format section
  • Updated code examples to use DOCS_HOST constant for better clarity

Note

Low Risk
Documentation-only changes; no runtime code paths are modified, with risk limited to potential confusion if examples are incorrect.

Overview
Adds the host field to the documented User payload for JWT auth (type + JSON example) and introduces a new parameter description explaining that Mintlify validates the JWT host against the request host.

Updates the JWT code samples (TypeScript + Python) in es, fr, and zh to set host via a DOCS_HOST constant and to build the /login/jwt-callback redirect URL from that constant (plus minor French copy edits).

Written by Cursor Bugbot for commit 790762a. This will update automatically on new commits. Configure here.

@ethanpalm ethanpalm merged commit dd29367 into main Mar 10, 2026
5 checks passed
@ethanpalm ethanpalm deleted the translate-auth-host-1773160981 branch March 10, 2026 18:09
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.

1 participant