Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

CustomOAuthProvider

import type { CustomOAuthProvider } from "https://esm.sh/@supabase/supabase-js@2.99.0/dist/index.d.mts";

Custom OAuth/OIDC provider object returned from the admin API.

type CustomOAuthProvider = {
id: string;
provider_type: CustomProviderType;
identifier: string;
name: string;
client_id: string;
acceptable_client_ids?: string[];
scopes?: string[];
pkce_enabled?: boolean;
attribute_mapping?: Record<string, any>;
authorization_params?: Record<string, string>;
enabled?: boolean;
email_optional?: boolean;
issuer?: string;
discovery_url?: string;
skip_nonce_check?: boolean;
authorization_url?: string;
token_url?: string;
userinfo_url?: string;
jwks_uri?: string;
discovery_document?: OIDCDiscoveryDocument | null;
created_at: string;
updated_at: string;
}
;

§Type

§
{
id: string;
provider_type: CustomProviderType;
identifier: string;
name: string;
client_id: string;
acceptable_client_ids?: string[];
scopes?: string[];
pkce_enabled?: boolean;
attribute_mapping?: Record<string, any>;
authorization_params?: Record<string, string>;
enabled?: boolean;
email_optional?: boolean;
issuer?: string;
discovery_url?: string;
skip_nonce_check?: boolean;
authorization_url?: string;
token_url?: string;
userinfo_url?: string;
jwks_uri?: string;
discovery_document?: OIDCDiscoveryDocument | null;
created_at: string;
updated_at: string;
}
[src]