Skip to main content

OAuth Anthropic (Claude): PKCE flow + token refresh scheduler

## Что это Login через Anthropic OAuth с PKCE (без client_secret в десктоп-app). Token refresh scheduler обновляет access token до expiry, retry с экспоненциальным backoff при сети. Storage — encrypted, scope-bound. ## Зачем OAuth с PKCE — единственно безопасный flow для native app. Refresh scheduler делает «logged in» состояние durable без ручных re-login. ## Источники вдохновения - [anomalyco/openauth](https://github.com/anomalyco/openauth) — OAuth provider - [steipete/better-auth](https: ## 🔗 Linear - [PZD-279](https://linear.app/kuhjie/issue/PZD-279) (match confidence: 0.678)

Log in to comment and vote

No comments yet

Be the first to share your thoughts.