FireDAC Components for REST

Build 23.0.8804


How to pass Client Id and Secret with OAuthGrantType is set to Password.


property OAuthPasswordGrantMode: String;

Possible Values

Post, Basic

Data Type


Default Value



The OAuth RFC specifies two methods of passing the OAuthClientId and OAuthClientSecret when using the Password OAuthGrantType. The most commonly used is to pass them via post data to the service. However, some services may require that you pass them via the Authorize header as to be used in BASIC authorization. Change this property to Basic to submit the parameters as part of the Authorize header instead of the post data.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 23.0.8804