Table of Contents

TSphinxExternalProvider.TokenEndpointAuthMethod Property

How Sphinx authenticates itself at the upstream token endpoint. Defaults to Auto.

Remarks

With Auto, the credentials are sent as client_secret_post (in the request body) only when the provider discovery document advertises it and not client_secret_basic; otherwise they are sent as client_secret_basic (HTTP Basic Authorization header). Many providers advertise both methods but accept only the one registered for the client. If the upstream token request fails with an invalid_client error, set this property to the method configured for the client at the provider.

Syntax

Unit: Sphinx.Comp.ExternalProvider

property TSphinxExternalProvider.TokenEndpointAuthMethod: TExternalTokenEndpointAuthMethod

See also