cancel
Showing results for 
Search instead for 
Did you mean: 

Invalid redirect did not match one of the registered values

laal8293
Explorer
0 Kudos

Hi,

I've used the Custom Domain Manager to set up a SaaS route, routing from my custom domain to an instance of Fiori Launchpad. When I try to access my custom URL https://<customdomain>; I'm routed to the login screen. After logging in I get an error message Invalid redirect <customdomain>/login/callback did not match one of the registered values

According to note 3154238 this should be mitigated by adding the below to my xs-security.json

"oauth2-configuration": {
"redirect-uris": [
"https://<customdomain>/login/callback"
]
}

I've done the change to the file and updated the service via the cf update-service command but I still get exactly the same error message after logging in.

Anyone has any idea about why I still get this error and how to fix it?

Best regards

Lars

View Entire Topic
susansun01
Advisor
Advisor
0 Kudos

Do you map this custom domain to SAP launchpad service site URL?

If yes, this operation should be done by SAP operation teams.

https://help.sap.com/docs/Launchpad_Service/8c8e1958338140699bd4811b37b82ece/4227d14bef984e039c8cc78...

laal8293
Explorer
0 Kudos

Hi Susan,

Yes, I'm mapping to the SAP launchpad service site URL. I had missed that in the documentation. Thank you very much for pointing this out.

Best regards

Lars