Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
v:2.0:customer_portal [2025/04/21 13:32] – [BETA Setup Instructions] adam | v:2.0:customer_portal [2025/06/25 15:23] (current) – [Incorporating the Customer Portal SSO with an Existing SSO Endpoint] adam | ||
---|---|---|---|
Line 4: | Line 4: | ||
- | ==== Beta Instructions ==== | + | ==== Enabling the portal ==== |
+ | |||
+ | The customer portal can be enabled from the Foxy admin at [[https:// | ||
+ | |||
+ | You need to specify an allowlist of domains where the portal is able to be utilised. Note that all domains have to begin with '' | ||
+ | |||
+ | You can also configure additional options for the portal: | ||
+ | |||
+ | * SSO (single sign-on) - enable this option if you want to allow customers who are logged in to the portal to be automatically logged in to your website (requires some additional configuration, | ||
+ | * Customer registration - enable this option to allow customers to create a new account directly on the login form, as opposed to completing a purchase through the checkout | ||
+ | * Frequency changes for subscriptions - enabling this option allows customer to changes the frequency of their subscriptions. You can define rules for what options a customer can change a subscription too, depending what subscription it is. | ||
+ | * Next payment date changes for subscriptions - if enabled, customers will be able to modify the next date of their subscription. This can be limited based on rules to restrict how far or to what days a customer can change the next date to. | ||
+ | * Session lifespan - allows you to define how long a customer can remain logged in to the portal for before being automatically logged out | ||
+ | * JWT shared secret - this secret is used to sign the tokens returned as part of authenticating with the portal. Changing this secret will invalidate any active authenticated sessions on the customer portal. Unless you have specific needs here, you can let this value be set automatically. | ||
+ | |||
+ | ==== Setup Instructions ==== | ||
You can [[http:// | You can [[http:// | ||
Line 233: | Line 248: | ||
If you've already got SSO enabled and configured on your Foxy store, you'll need to handle things separately. We can't give step-by-step instructions, | If you've already got SSO enabled and configured on your Foxy store, you'll need to handle things separately. We can't give step-by-step instructions, | ||
- | * **Create the customer portal session + cookie when a customer logs in.** So when a customer enters their username and password, you can make a quick '' | + | * **Create the customer portal session + cookie when a customer logs in.** So when a customer enters their username and password, you can make a quick '' |
* **If you don't have access to the customer' | * **If you don't have access to the customer' | ||
* Unlike the checkout, you likely would not want to allow login to the portal if the customer' | * Unlike the checkout, you likely would not want to allow login to the portal if the customer' |