When configuring SSO/SAML for the customer portal (JSM), the configuration of and IDP to Auth0 doesn't work when Auth0 is passing SAML authentication to another IDP. If the users only has an account in Auth0 where Auth0 is the SAML service provider, the authentication to the portal works but when the user account is configured to pass the authentication on to another service provider (like Azure AD), the configuration in Auth0 causes an error when authenticating to the portal.
Atlassian documentation only provides steps to configure Auth0 as the IDP and SAML service provider, not when it is an intermediary and passes authentication to another IDP.
Auth0 has provided this documentation based on the server error tracked but not sure how this gets corrected and where: