Skip to Content
avatar image
Former Member

SAML 2.0 configuration error forURL redirection.

Hi All,

We are trying to configure application authentication using SAML2.0 where we are getting an web error while redirection of URL from trusted provider/IDP URL to local provider

IDP URL is mentioned below:

https://<trusted provider host>:<port>/oamfed/idp/initiatesso?providerid=<local provider host>

IDP URL automatically redirects to local provider(SAP JAVA host) link mentioned below

https://<local provider host>:<port>/saml2/sp/acs

Error in web page:

500 Internal Server Error

Error: Service Provider could not redirect to application URL because of configuration error.

Kindly help if there is some missing configuration regarding redirection of application that need to be maintained.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Nov 17, 2017 at 01:14 PM

    Can you please check this thread?

    https://archive.sap.com/discussions/thread/3462758

    I think it contain answer to your problem.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks for your response! I have gone through the thread and found a solution mentioned:

      "

      The solution to this error was to add a default application path (e.g. /irj) to the SAML 2.0 settings on the portal in the Service Provider Settings for the Local provider.

      "

      But couldn't understand how exactly it will work. However, I tried it to few ways but didn't help much.

      Need to understand what should I put as "Relay State" & where exactly the redirection part will work on URL

      https://<local provider host>:<port>/saml2/sp/acs