Skip to Content
1
Feb 11, 2019 at 10:29 AM

SCP Odata authentication issue with custom IAS tenant

462 Views Last edit Feb 11, 2019 at 02:23 PM 2 rev

Hi everybody,


I'm facing an issue when calling an oData Provisioning service. When calling the service inside my Sap cloud integration(SCI) IFLOW with authentication method BASIC (username / password), I get a http page (http code 200) in response:

<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, shrink-to-fit=no">
        <meta http-equiv="pragma" content="no-cache" />
    </head>
    <body style="background-color:#FFFFFF" onload="var url=window.location.hash;if(url&&0!==url.length){var anchorCookie='XYZ="'+encodeURIComponent(url)+'"';document.cookie=anchorCookie}document.forms[0].submit()">
        <p>
            <script language="javascript">document.write("Please wait ...");</script>
        </p>
        <noscript>
            <p>Note: Your browser does not support JavaScript or it is turned off. Press the button to proceed.</p>
        </noscript>
        <form method="post" action="https://XYZ.accounts.ondemand.com/saml2/idp/sso/XYZ.accounts.ondemand.com">
            <input type="hidden" name="SAMLRequest" value="XYZ....."/>
            <input type="hidden" name="RelayState" value="XYZ...."/>
            <noscript>
                <input type="submit" value="Continue"/>
            </noscript>
        </form>
    </body>
</html>

When calling the same service in my browser I get forwarded to the SCP Login Page and redirected to the service after authentication with user name and password. This works fine.

The specialty in this environment is that the SCP has its own IAS tenant, which is used to manage and authenticate users.

What methods of authentication are supported in this scenario? Is basic authentication possible at all?

Thanks and

best regards,

Sven