Docs

Hosted Pages Articles & FAQ

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

Error: Session Expired 

This article covers 

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:

  1. Enable “Customers can access the self-serve portal via Single Sign-On API” under Chargebee Dashboard,

Configure Chargebee
Settings > Checkout & Self-serve portal
Checkout> Click Publish to use the portal sessions API

  1. Provide a link to your website/application to allow your authenticated customers to access the portal (portal_link).

  2. 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

  3. Forward the user to the access URL present in the “Portal Session” resource returned by the above API call.

    1. Note:

      1. The access URL should be accessed by the customer within one hour from the time it was created.

      2. Once accessed,

        1. The session is valid until the user logs out from the portal UI or logout API is called from your application.

        2. Create a new portal session, whenever you need to provide access to the portal.

Note: Chargebee supports Single Sign-On via SAML

Related Articles 

“Subscription[Start_Date] should not be passed for cancelled subscription” error while importing subscriptions via Bulk operation.
How to customise the Consent management settings in Chargebee’s hosted page
Chargebee's site name was renamed but why does this still show a different name?
[API Users] How to generate hosted page URL and embed via iFrame
How to edit the fields that appear on the hosted customer portal? Will it appear only in English?
Can I group plans and display them in the customer portal?
How to import a Google font which has two words in the name?
How to set a landing page URL for the logo added to the theme?
Why is the checkout page not loading?
How to collect the coupon codes during signup on the V2 checkout pages?
Checkout V3 - FAQ
How can I collect the coupon codes on the V3 checkout pages during signup?
Content security policy for the Checkout page
How do I control the Quantity increments on the Checkout page?
Redirect URL not working
Checkout page returns with exclamation marks when my customer tries to add his card details. What should I do?
Is it possible to change the order in which the payment methods are displayed in checkout?
“Wrong format” error while passing email id in checkout
How to make the billing address mandatory in the self-serve portal when my customer reactivates his subscription?
Google Analytics: track_info_error on Checkout V3
Can I let my customers set the Auto collection status at the self-serve portal?
How to hide the discount prompt from displaying?
How can my customers set a password for their self serve portal?
How to add shipping address?
Allow customers to add addons on Self serve portal
How to navigate to the specific step in the Portal popup using JS/PHP?
Where do I add my domain for the allow-list?
Was this article helpful?
Loading…