Skip to content

fix: add PAT token flow equivalency details #1188

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 25, 2025
Merged

Conversation

wangsijie
Copy link
Contributor

Summary

add PAT token flow equivalency details (for org tokens)

@wangsijie wangsijie requested review from Copilot and charIeszhao and removed request for Copilot July 24, 2025 02:48
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds clarification documentation about Personal Access Token (PAT) flow equivalency, specifically explaining how PAT-obtained tokens work identically to standard refresh token flows for organization-level features.

  • Adds a new tip section explaining token flow equivalency between PAT and refresh token flows
  • Clarifies that PAT-obtained tokens support the same organization permissions and scopes
  • Documents that authorization flows and token validation work consistently across both token types
Comments suppressed due to low confidence (1)

docs/user-management/personal-access-token.mdx:28

  • [nitpick] The term 'Authorization flow' is inconsistent with the other bullet points which describe capabilities rather than flows. Consider renaming to 'Authorization capabilities' or 'Permission usage' to better reflect that this describes what you can do with the tokens.
- **Authorization flow**: You can use PAT-exchanged access tokens for [organization permissions](/authorization/organization-permissions) and [organization-level API resources](/authorization/organization-level-api-resources)

Copy link

Deploying logto-docs-tutorials with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6bc8700
Status: ✅  Deploy successful!
Preview URL: https://dc57dbe2.logto-docs-tutorials.pages.dev
Branch Preview URL: https://wangsijie-pat-org.logto-docs-tutorials.pages.dev

View logs

Copy link

Deploying logto-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6bc8700
Status: ✅  Deploy successful!
Preview URL: https://f06f241c.logto-docs.pages.dev
Branch Preview URL: https://wangsijie-pat-org.logto-docs.pages.dev

View logs

@wangsijie wangsijie merged commit 28437aa into master Jul 25, 2025
13 checks passed
@wangsijie wangsijie deleted the wangsijie-pat-org branch July 25, 2025 06:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants