OAuthIncludeCallbackURL Parameter (Connect-JSON Cmdlet)
Whether to include the callback URL in an access token request.
Syntax
Connect-JSON -OAuthIncludeCallbackURL bool
Data Type
bool
Default Value
true
Remarks
This defaults to true since standards-compliant OAuth services will ignore the redirect_uri parameter for grant types like CLIENT or PASSWORD that do not require it.
This option should only be enabled for OAuth services that report errors when redirect_uri is included.