## SDK Parity: C# implementation needed A change was made in `supabase-js` that needs to be implemented in this repository for SDK parity. ## Reference Implementation (supabase-js) - **Commit**: [`5d29d9b`](https://github.com/supabase/supabase-js/commit/5d29d9b) - **PR**: [#2088](https://github.com/supabase/supabase-js/pull/2088) - **Module**: auth - **Type**: bug-fix ### What Changed The OAuth 2.1 authorization consent flow types were corrected. The response properly distinguishes between: 1. Consent-needed: includes client details, user info, scopes, redirect_uri 2. Already-consented: only includes redirect_url ### Code Reference ```typescript type OAuthAuthorizationDetails = { client: OAuthAuthorizationClient scopes: OAuthScope[] user: User redirect_uri: string } type OAuthRedirect = { redirect_url: string } ``` ## Implementation Guidance ### Expected API Surface (C#) ```csharp public class OAuthAuthorizationDetails { public OAuthAuthorizationClient Client { get; set; } public List<OAuthScope> Scopes { get; set; } public User User { get; set; } public string RedirectUri { get; set; } } public class OAuthRedirect { public string RedirectUrl { get; set; } } ``` ### Key Behaviors to Match - Distinguish between consent-needed and already-consented responses - PascalCase naming per C# conventions - Proper JSON deserialization for both variants ## Acceptance Criteria - [ ] OAuth authorization response types correctly model both variants - [ ] Proper deserialization of both response types - [ ] Unit tests cover both flows - [ ] Documentation updated ## Context - **supabase-js version**: v2.95.3 - **Parity tracking**: This issue was auto-generated by SDK parity analysis - **Related parity issues**: [SDK-695](https://linear.app/supabase/issue/SDK-695) (dart), [SDK-696](https://linear.app/supabase/issue/SDK-696) (py), [SDK-697](https://linear.app/supabase/issue/SDK-697) (swift) --- Generated with Claude Code `/sync-sdk-parity`
Activity