This article covers
How do I setup Chargebee’s sign in via SSO
If you already authenticate your customers on your native application and would like to redirect them to their Chargebee portal to manage their account, you can use the single-sign on option.Integrating your customer portal via Chargebee’s API lets you skip Chargebee’s self-serve portal authentication and direct your customers to access their account.
Note: 1.SSO applies only when you have your own authentication for your website. 2.This portal link(redirect) is valid for one time use
Follow the below steps for supporting portal access via SSO:
Enable "Allow access to customer portal via API" under Chargebee Dashboard,
> Configure Chargebee
> Checkout & Self-serve portal
> Click Publish to use the portal sessions API
Provide a link in your website/application to allow your authenticated customers to access the portal (portal_link).
Handle the link request in your server code and create a portal session for the customer by calling Chargebee's "Create a portal session" API
Forward the user to the access URL present in the "Portal Session" resource returned by the above API call.
The access URL should be accessed by the customer within one hour from the time it was created.
The session is valid until the user logs out from the portal UI or logout API is called from your application.
Create a new portal session, whenever you need to provide access to the portal.
Note: Chargebee supports Single Sign-On via SAML.
Related articles and Documentation