Skip to Content

custom login screen with SAML (SAP Cloud Platform SDK for Android)

Hi Team,

How to custom registration using saml authentication?.Please provide some code snippet.

I am using (SAP Cloud Platform SDK for Android) Version 2.0

Regards

Ramakrishna.Amathi

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Mar 15 at 06:46 PM

    I assume you have tried the example at Using SAML for Authentication. Can you comment further on what specifically you are looking for in addition to the example?

    I believe it is possible to further customize the screen shown by the identity provider (for OAuth and perhaps for SAML) by going to Security > OAuth screen of the SAP Cloud Platform server.


    Regards,

    Dan van Leeuwen


    branding.png (159.0 kB)
    Add comment
    10|10000 characters needed characters exceeded

  • Mar 18 at 09:29 AM

    Hi Dan,

    Please find below comments.

    1) I assume you have tried the example at Using SAML for Authentication.

    Yes i tired above link.But Web view not loading

    2) Can you comment further on what specifically you are looking for in addition to the example?

    I am looking custom registration page using android components.i do not want web based login page.

    Is it possible to do SAML Authentication using above mentioned approach.

    Regards

    Ramakrishna.Amathi

    Add comment
    10|10000 characters needed characters exceeded

    • I am not aware of another way to do SAML authentication to the SAP Cloud Platform with our provided SDK other than using a web based approach (WebView or using OAuth2BrowserProcessor).

      What Identity Service are you using? Is it something other than the default SAP Identity Service shown in the mentioned tutorial?

      Have you tried increasing the log level and looking through the adb messages?

      Regards,

      Dan van Leeuwen

  • Mar 18 at 05:45 PM

    Hi Dan,

    I'm using SAP identity serivce, so what i understood from your comment is , I have to use webview approach only.

    But i have another question here is, When i ran the Sample app from the SAML authentication tutorial, it first redirects me to "Get started"

    screen and then after clicking this button , it shows SAML login page.

    Is there any way, i can skip Get started screen and directly go to SAML login page ?

    Thanks,

    Ramakirshna

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 19 at 04:23 PM

    One option to not show the welcome screen would be to code the registration directly following the approach shown in the blog Step by Step with the SAP Cloud Platform SDK for Android.

    Regards,

    Dan van Leeuwen

    Add comment
    10|10000 characters needed characters exceeded