Skip to main content

Interface: OAuthClientMetadata

Defined in: auth-core/src/oauthServerTypes.ts:47

Client metadata as submitted to Dynamic Client Registration (RFC 7591).

Extended by​

Indexable​

[key: string]: unknown

Properties​

client_name?​

optional client_name?: string

Defined in: auth-core/src/oauthServerTypes.ts:51

Human-readable client name shown on consent screens.


grant_types?​

optional grant_types?: string[]

Defined in: auth-core/src/oauthServerTypes.ts:53

OAuth grant types the client will use. Defaults to auth-code + refresh.


redirect_uris​

redirect_uris: string[]

Defined in: auth-core/src/oauthServerTypes.ts:49

Allowed redirect URIs. At least one is required for the auth-code flow.


response_types?​

optional response_types?: string[]

Defined in: auth-core/src/oauthServerTypes.ts:55

OAuth response types the client will use. Defaults to ['code'].


scope?​

optional scope?: string

Defined in: auth-core/src/oauthServerTypes.ts:63

Space-separated scopes the client may request.


token_endpoint_auth_method?​

optional token_endpoint_auth_method?: string

Defined in: auth-core/src/oauthServerTypes.ts:61

Client authentication method at the token endpoint. 'none' registers a public client (no secret issued); anything else registers a confidential client and a client_secret is generated.