Table of Contents

TSphinxLogin.RedirectUri Property

The redirect URI sent to the authorization server.

Remarks

When empty (the default), the component starts a local HTTP server and uses a http://127.0.0.1:PORT/oauth2redirect redirect URI automatically. This works on desktop platforms. Set this property to a custom URL scheme (e.g. myapp://auth/callback) when targeting mobile platforms where a local HTTP server is not available. In this mode the browser is launched without starting a local server, and you must call HandleCallback from your platform URL handler to complete the authentication.

Syntax

Unit: Sphinx.Login

property TSphinxLogin.RedirectUri: string

See also