Skip to content

docs: clarify porter auth logout behavior#298

Open
mintlify[bot] wants to merge 1 commit into
mainfrom
docs/cli-logout-revocation
Open

docs: clarify porter auth logout behavior#298
mintlify[bot] wants to merge 1 commit into
mainfrom
docs/cli-logout-revocation

Conversation

@mintlify
Copy link
Copy Markdown
Contributor

@mintlify mintlify Bot commented May 28, 2026

Summary

Update the porter auth logout reference to reflect that the command now revokes the active session on the Porter API in addition to clearing local credentials.

Changes

  • Expand the porter auth logout section in the CLI auth command reference with the new server-side revocation behavior.
  • Add guidance on when to use it (shared/untrusted machines) and call out that deleting local config alone does not invalidate the session.

Context

The upstream change adds server-side support for CLI session logout: calling the logout endpoint with a CLI bearer token now revokes the underlying session, so cached access and refresh tokens on disk can no longer be replayed after porter auth logout. Previously the command only cleared local state.

@mintlify
Copy link
Copy Markdown
Contributor Author

mintlify Bot commented May 28, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
porter 🟢 Ready View Preview May 28, 2026, 4:46 PM

**Example:**
```bash
porter auth logout
```
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

this part feels redundant to have the same cmd as an Example and Usage

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