You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to have some hooks into the verify workflow, to know when a user passed/failed verification. I think the basic idea would be to add a verify kwarg to IdP.authenticate, sp.utils.authenticate, and SAMLAuthenticationBackend.authenticate, then pass verify=True when authenticating a user for verification. Maybe the default implementation in SAMLAuthenticationBackend.authenticate could send a custom user_verified signal with a success parameter. Or maybe separate signals for pass/fail.
The text was updated successfully, but these errors were encountered:
It would be nice to have some hooks into the verify workflow, to know when a user passed/failed verification. I think the basic idea would be to add a
verify
kwarg toIdP.authenticate
,sp.utils.authenticate
, andSAMLAuthenticationBackend.authenticate
, then passverify=True
when authenticating a user for verification. Maybe the default implementation inSAMLAuthenticationBackend.authenticate
could send a customuser_verified
signal with asuccess
parameter. Or maybe separate signals for pass/fail.The text was updated successfully, but these errors were encountered: