KamoCRM

Refactor RingCentral to OAuth 2.0 Authorization Code flow

FeatureVOIPService
Shipped
19 மார்ச், 2026 அன்று 10:18 PM UTC
Author
Kamo
Commit
8ba4994

- New OAuthController: /oauth/start (returns authUrl), /oauth/callback (exchanges code, saves tokens), /oauth/status, DELETE /oauth/token - OTKValidationFilter: exclude /api/voip/oauth/callback (browser redirect) - RingCentralProvider: use pre-fetched access token, remove JWT Bearer - PhoneProviderFactory: load OrgOAuthToken from DB, auto-refresh on expiry - ProviderConfigController: remove jwtKey, test uses factory.checkHealth() - application.yml: add oauth-redirect-uri and oauth-success-redirect config - PhoneProviderFactoryTest: update for OAuth token-based flow

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing