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 [2024/07/22 16:27] – [Beta 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 1: | Line 1: | ||
====== Customer Portal ====== | ====== Customer Portal ====== | ||
- | ===== BETA Setup Instructions ===== | + | ===== Setup Instructions ===== |
- | <WRAP center round info 60%> | + | |
- | Note that the customer portal | + | |
- | </WRAP> | + | ==== Enabling |
+ | |||
+ | The customer portal | ||
+ | |||
+ | 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: | ||
- | Also note that our portal | + | * SSO (single sign-on) - enable this option if you want to allow customers who are logged in to the portal |
+ | * 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 | ||
+ | * 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. | ||
- | ==== Beta Instructions ==== | + | ==== Setup Instructions ==== |
You can [[http:// | You can [[http:// | ||
Line 35: | Line 46: | ||
</ | </ | ||
- | It's also possible to use third-party CDN's, such as jsdeliver | + | If you //really// want to, it's also possible to use third-party CDN's, such as jsdeliver, |
== jsDeliver == | == jsDeliver == | ||
Line 43: | Line 54: | ||
</ | </ | ||
- | == unpkg == | ||
- | < | ||
- | https:// | ||
- | https:// | ||
- | </ | ||
==== Styling ==== | ==== Styling ==== | ||
Line 242: | 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' |