mirror of
https://github.com/supabase/supabase.git
synced 2026-06-06 05:17:15 +08:00
* oAuth clients index layout * oAuth apps crud * is public * add user count and client secret generation and management * scaffold oauth server settings * improve oauth server enablement / disablement * show cover when oAuth server is disabled * fix update panel update button * add site url and authorization path settings values * move oauth server to it's own nav item * remove unneeded oauth server settings * let the user disactivate oauth server even after creating oauth apps * better delete button * cleanup * fix typecheck * test endpoints * add EnableOAuth21 feature flag * update OAUTH_SERVER_ auth config api * load OAUTH_SERVER_ENABLED in oauth list * Update the api.d.ts. Remove the custom versions of supa libs. * Add query for getTemporaryAPIKey. * Add a hook for initializing a supabase client. * Add hooks for oAuth Server apps. * Regenerate pnpm-lock.yaml. * Revert updates to the platform.d.ts. Not needed for this PR. * Migrate all code to use the new hooks. * Try to integrate the mutations and fix some of the sheet and dialogs. * improve default and saving states * fix oauth app form validation * unify components into CreateOrUpdateOAuthAppModal * create or update oauth app * Update the OAuth Server page. * Remove extra files. * Minor various fixes. * More fixes to the creation of oauth apps. * Bump the libs to fix a DELETE oauth app error. * Clean up the scope feature. * Move the feature flag in the auth layout. * Bunch of smaller fixes. * Regenerate pnpm-lock. * Revert SidePanel and CardDescription changes. * Add confirm dialog for regenerating secret. --------- Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
8 lines
437 B
TypeScript
8 lines
437 B
TypeScript
export const apiKeysKeys = {
|
|
list: (projectRef?: string, reveal?: boolean) =>
|
|
['projects', projectRef, 'api-keys', reveal].filter(Boolean),
|
|
single: (projectRef?: string, id?: string) => ['projects', projectRef, 'api-keys', id] as const,
|
|
status: (projectRef?: string) => ['projects', projectRef, 'api-keys', 'legacy'] as const,
|
|
temporary: (projectRef?: string) => ['projects', projectRef, 'api-keys', 'temporary'] as const,
|
|
}
|