Table of Contents

TExternalLoginOptions.AllowAutoProvision Property

Allows the built-in policy to create a new local user on the first external sign-in when no existing user can be found or linked.

Remarks

When True, a new user is provisioned from the upstream profile and linked to the external identity, and the OnExternalUserProvisioned event is fired so the application can complete the new account (roles, profile, etc.). Defaults to False, in which case an unknown identity is rejected unless an OnExternalSignIn handler supplies a user.

Syntax

Unit: Sphinx.Options

property TExternalLoginOptions.AllowAutoProvision: Boolean

See also