Single sign-on (SSO)
Single sign-on (SSO) feature of the Paybis API enables your authenticated customers to avoid repeated logon in the Widget application.
PrerequisitesReceive confirmation from your Paybis integration manager that the Single Sign-On (SSO) feature has been enabled for your partner account before starting to use this feature. This is done during the onboarding process.
Partner should sign requests
Single sign-on (SSO) flow for Private APIs
- Check that the user has an active session on your website.
- Call the Private API endpoint POST / Request with the
passwordlessflag set totrue,partnerUserId(both are required) parameters, andemail, as an optional parameter. - Paybis system generates and returns in the POST / Request endpoint response containing
oneTimeTokenalong with therequestId.
Note Ifemailis not provided, the system will establish a relationship using thepartnerUserIdand validate it against a valid oneTimeToken. - Pass the retrieved
oneTimeTokenas an extra SDK parameter upon widget initialization or in query parameters if you are using the Direct URL Integration. - If the supplied
oneTimeTokenis valid, the customer is automatically logged in to the widget: email verification step is skipped in the Widget journey.
oneTimeTokenexpiration is 15 min.
Updated 2 days ago
What’s Next