Add `providerScopes` and `oauthTokens` support to SSO API (#1345)
## Summary - Add `providerScopes` parameter to SSO authorization URL options - Add `oauthTokens` field to SSO profile and token responses - Comprehensive test coverage for new functionality ## Changes Made - Updated `SSOAuthorizationURLOptions` interface to include optional `providerScopes` parameter - Modified `getAuthorizationUrl` method to serialize provider scopes as space-separated string - Added `oauthTokens` field to `ProfileAndToken` and `ProfileAndTokenResponse` interfaces - Updated profile and token serializer to handle oauth tokens deserialization - Added tests for provider scopes in authorization URLs - Added tests for oauth tokens in profile responses ## Test Plan - [x] All existing tests pass - [x] New tests added for provider scopes functionality - [x] New tests added for oauth tokens functionality - [x] Linter passes - [x] TypeScript compilation successful Related to ENT-3768
J
Jônatas Santos committed
263a4604f133162f0e026684c797f30df3ef6d57
Parent: 8c6e886
Committed by GitHub <noreply@github.com>
on 8/25/2025, 2:49:56 PM