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

CreateCustomProviderParams

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

Parameters for creating a new custom provider.

type CreateCustomProviderParams = {
provider_type: CustomProviderType;
identifier: string;
name: string;
client_id: string;
client_secret: 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;
}
;

§Type

§
{
provider_type: CustomProviderType;
identifier: string;
name: string;
client_id: string;
client_secret: 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;
}
[src]