Skip to main content

DefaultRedirectUri Constant

Specifies the default universal resource identifier required to receive an OAuth 2.0 account access token.

Declaration

const DefaultRedirectUri: string = 'http://localhost';

Returns

Type
string

Remarks

This writeable typed constant initializes the RedirectUri property. You can use DefaultRedirectUri to preset the URI required to receive the account access token from an OAuth 2.0 authentication server.

Note

The Google Authorization Agent component always uses the loopback IP address to authenticate and authorize an application in a Google account. Do not change the DefaultRedirectUri writeable typed constant value if your application interacts with Google services.

See Also