Skip Navigation
Expand
pre_login hooks are not triggered upon successful SSO login
Answer ID 12253   |   Last Review Date 10/01/2023

How do I trigger login hooks on successful SSO login?

Environment:
 
Customer Portal 3, SSO
 
Resolution:
The post_openlogin_authurl hook is used instead on successful SSO login in the Customer Portal.
 
The below hooks are available for SSO/ OpenID users.
 
pre_openlogin_lookup_contact - Called before logging in an open id user.
pre_openlogin_decode - Called before getting the open id user info.
post_openlogin_authurl - Called immediately after the authentication URL has been generated.
openlogin_build_url - Called before calling the build URL in the discover method of LightOpenID.
 
Notes:
 
Further documentation can be found here:
Using B2C Service Customer Portal - Adding Hooks
File Attachment