Skip to main content

Interface: OAuthClientMetadata

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

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:41

Human-readable client name shown on consent screens.


grant_types?

optional grant_types?: string[]

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

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


redirect_uris

redirect_uris: string[]

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

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:45

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


scope?

optional scope?: string

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

Space-separated scopes the client may request.


token_endpoint_auth_method?

optional token_endpoint_auth_method?: string

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

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.