Skip to Content

HTML5-App and Cloud Identity Service (HCP)

Hi :)

I want to use an other IdP for an HTML5-App than i use as standard for my HCP . But the majority of IdP-Problems handles java-apps :/

I´m using the SAP ID Service as default and have added the SAP Cloud Identity Service as a second Trusted IdP.

In this old question Question regarding HCP support to IDP java is used too.

My questions:

Are there any application-specific Identity Provider settings nowadays?

If yes, how can i access them with HTML5?

If no, is there a way to use the request parameter saml2idp with HTML5?

Or maybe is there a completely different way for HTML5-Apps? Or no way at all? :/


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Dec 12, 2016 at 10:58 AM

    Hi Tim,

    trust settings are managed on account level, i.e. there is currently no possibility to configure an identity provider per application. But as you've already mentioned, you can make use of the saml2idp parameter for your HTML5 applications. Assuming that /protected/index.html points to a protected page of your HTML5 application, your can append the saml2idp parameter to the URL as follows:


    Please note that using a custom IDP and SAP ID Service at the same time in the default configuration is only supported with IDP-initiated SSO with the custom IDP. Thus, the above URL (using SP-initiated SSO) only works in the trust setting with custom configuration. Nevertheless, if IDP-initiated SSO is not an issue for your scenario, you can still add the custom IDP in the default configuration, direct your users to the custom IDP, let them select the SP (i.e. your HTML5 app), and let the custom IDP send an (unsolicited) SAML Response to the custom IDP.

    Best regards


    Add comment
    10|10000 characters needed characters exceeded