SAP Knowledge Base Article - Preview

3411842 - "The redirect_uri has an invalid domain" when opening an application in BTP Cloud Foundry

Symptom

You are trying to open an application deployed on BTP but faced error:

"The redirect_uri has an invalid domain."   
"Authorization Request Error There was an error. The request for authorization was invalid

 
You have referred to KBA 2864831 - "The redirect_uri has an invalid domain" error when using a custom domain in Cloud Foundry, but you don't use custom domain in your scenario.
 
Refer to KBA 1990706, collect HTTP trace by reproducing the issue.
It can be found that there's 400 error for example:
https://<xxx>.authentication.eu10.hana.ondemand.com/oauth/authorize?response_type=code&client_id=xxx&redirect_uri=https%3A%2F%2F<xxx>.cfapps.eu10-004.hana.ondemand.com%2Flogin%2Fcallback

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."


Read more...

Environment

SAP Business Technology Platform, Cloud Foundry environment

Product

SAP Business Technology Platform all versions

Keywords

Authorization Request Error, The redirect_uri has an invalid domain, CF, application, route, XSUAA, btp , KBA , BC-CP-CF-SEC-IAM , UAA, Authentication, Authorization, Trust Mgmnt , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.