Programmatically managing authenticators on behalf of users
Learn how to manage your users’ authenticators programmatically using Authsignal.
Adding authenticators
If you have already verified a user’s email address or phone number in your own platform, you may wish to enroll them with a corresponding email or SMS authenticator in Authsignal automatically, without requiring any further user intervention.
This can be achieved by using the Enroll Verified Authenticator method in your server-side code.
This method assumes the user’s email address or phone number has already been verified and does not send out an email or SMS to perform verification. It should only be used if you have performed this verification in your own platform.
Removing authenticators
Removing user authenticators programmatically can be done through the Server API’s Delete Authenticator endpoint.
This functionality should be used with caution as removing a user’s authenticators may result in them getting locked out of their account.