Docs
Access, account, customer, expired, in, integrate, manage, portal, redirect, set, sign, up, sso, session
38989385
2020-09-06T12:27:47Z
2025-02-12T08:22:50Z
1647
0
5
247842
Error: Session Expired
How do I set up Chargebee's sign-in via SSO?
Summary
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 accounts.
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. Click here to read more.
Follow the below steps for supporting portal access via SSO:
Configure Chargebee
Settings > Checkout & Self-serve portal
Checkout> Click Publish to use the portal sessions API
Provide a link to 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.
Note:
The access URL should be accessed by the customer within one hour from the time it was created.
Once accessed,
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.