cancel
Showing results for 
Search instead for 
Did you mean: 

SAML 2.0 configuration error forURL redirection.

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

BJarkowski
Active Contributor
0 Kudos

Can you please check this thread?

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

I think it contain answer to your problem.

Former Member
0 Kudos

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