Repository navigation
Document the swpat_ prefix for personal access tokens - #860
Merged
Merged
Conversation
Contributor
Collaborator
|
Review verdict: Ready to merge Checked against prime-rails main ( Verified:
Optional:
Your questions 1 (changelog entry) and 3 ( |
Collaborator
Author
|
@Manny-r31 thanks for the review. Every item is addressed:
On the open questions from the PR description:
The branch also merges current |
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.
Summary
New personal access tokens start with
swpat_. Tokens with the olderpat_prefix still work. The issue'sswpais the first four characters of that prefix.Source: prime-rails PR #10497, merged 2026-10-13.
app/services/token_format.rbbuilds the new prefix.personal_access_token/operations/create.rbuses that format.personal_access_token_authentication.rbaccepts both prefixes.Changes
specs/_shared/auth.tsp: the token description and example header.fern/products/apis/pages/core/authorization.mdx:fern/products/platform/pages/platform/core/glossary.mdx: the Personal access token entry.Not changed
job_title: ""on members. This is the issue's second point, and nothing here changes it.Questions for reviewers
swapi_one? It needs the date the new format went live.swapi_docs state theirs.job_titlepoint?Verification
yarn build:specspasses.yarn fern-md-checkpasses.#personal-access-tokensanchors are unchanged.Closes #851