Table of Contents

TSphinxConfig.OnExternalSignIn Event

Event triggered after Sphinx has authenticated a user against an upstream (external) identity provider, to map the upstream identity to a local user.

Remarks

The handler receives the upstream provider name, the parsed user profile and the raw tokens, and must assign the User of the event arguments with the local user to sign in (looking it up, linking it or provisioning a new one via the supplied user manager). Leaving User unassigned or calling Reject aborts the sign-in with an access_denied error. Sphinx applies no built-in provisioning or linking policy.

Syntax

Unit: Sphinx.Comp.Config

property TSphinxConfig.OnExternalSignIn: TExternalSignInEvent

See also