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)
What Changed
The OAuth 2.1 authorization consent flow types were corrected. The response properly distinguishes between:
- Consent-needed: includes client details, user info, scopes, redirect_uri
- Already-consented: only includes redirect_url
Code Reference
type OAuthAuthorizationDetails = {
client: OAuthAuthorizationClient
scopes: OAuthScope[]
user: User
redirect_uri: string
}
type OAuthRedirect = {
redirect_url: string
}
Implementation Guidance
Expected API Surface (C#)
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
Context
- supabase-js version: v2.95.3
- Parity tracking: This issue was auto-generated by SDK parity analysis
- Related parity issues: SDK-695 (dart), SDK-696 (py), SDK-697 (swift)
Generated with Claude Code /sync-sdk-parity
SDK Parity: C# implementation needed
A change was made in
supabase-jsthat needs to be implemented in this repository for SDK parity.Reference Implementation (supabase-js)
5d29d9bWhat Changed
The OAuth 2.1 authorization consent flow types were corrected. The response properly distinguishes between:
Code Reference
Implementation Guidance
Expected API Surface (C#)
Key Behaviors to Match
Acceptance Criteria
Context
Generated with Claude Code
/sync-sdk-parity