Skip to content

Extend Admin MCP OAuth token lifetimes - #516

Merged
shanerbaner82 merged 1 commit into
mainfrom
feature/admin-mcp-token-ttl
Sep 12, 2026
Merged

shanerbaner82 merged 1 commit into
mainfrom
feature/admin-mcp-token-ttl

Conversation

@shanerbaner82

Copy link
Copy Markdown
Contributor

Summary

  • Passport::tokensExpireIn30 days (was 1 hour) for Admin MCP OAuth access tokens
  • Passport::refreshTokensExpireIn90 days (was 30) so refresh still outlives access
  • Docs/tests had no hardcoded TTL assertions to update

Test plan

  • vendor/bin/pint --dirty
  • php artisan test tests/Feature/Mcp/AdminMcpOAuthTest.php (19 passed)

Access tokens now last 30 days (was 1 hour) and refresh tokens 90 days (was 30) so admin MCP clients need less frequent re-auth while refresh still outlives access.
@shanerbaner82
shanerbaner82 merged commit 3328ec2 into main Sep 12, 2026
3 checks passed
@shanerbaner82
shanerbaner82 deleted the feature/admin-mcp-token-ttl branch September 12, 2026 19:37
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