skip to main content
Connection property descriptions : RedirectURI
  

Try DataDirect Drivers Now

RedirectURI

Purpose

Specifies the endpoint to which the client is returned after authenticating with a third-party service when OAuth 2.0 authentication is enabled (AuthenticationMethod=OAuth2).
For some authentication flows, the REST service will redirect you to a third-party service for authentication. Once your credentials have been validated, the third-party service returns the client to an endpoint in the REST service to continue the session. The endpoint used by the third-party service is provided by the client and specified using the RedirectURI property.

Valid Values

string
where:
string
is the endpoint used to retrieve OAuth 2.0 authorization codes. For example, https://example.com/countries/.

Notes

*The redirect endpoint is often registered with the authentication service to provide improved security. Registering the endpoint prevents your valid authentication credentials being redirected to a malicious site; therefore, reducing the risk of sharing your access token and other sensitive information with unauthorized parties.
*This property is not required for all authentication flows. See “OAuth 2.0 authentication” for a list of common authentication flows and their requirements. If you are unsure of the requirements for your authentication flow, contact your administrator for more information.

Data Source Method

setRedirectURI

Default

None

Data Type

String

See Also

*OAuth 2.0 authentication
*OAuth 2.0 properties