Skip to content

Conversation

@cemalkilic
Copy link
Contributor

@cemalkilic cemalkilic commented Nov 5, 2025

adds OAuth grant listing and revocation endpoints

reference: supabase/auth#2232 and follow-up: supabase/auth#2247

@cemalkilic cemalkilic requested review from a team as code owners November 5, 2025 09:24
@github-actions github-actions bot added the auth-js Related to the auth-js library. label Nov 5, 2025
issuedat
issuedat previously approved these changes Nov 5, 2025
mandarini
mandarini previously approved these changes Nov 5, 2025
issuedat
issuedat previously approved these changes Nov 6, 2025
*/
export type AuthOAuthGrantsResponse = RequestResult<{
/** Array of OAuth grants authorized by the user */
grants: OAuthGrant[]
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason we don't return an array instead of nesting the grants property? I feel like it's common to return an array from list endpoints.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auth-js Related to the auth-js library.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants