cancel
Showing results for 
Search instead for 
Did you mean: 

Approuter Issue in local mode - SAP BAS: The redirect_uri has an invalid domain.

Aashish28
Contributor
0 Kudos

Hello All,
I have created a simple app router with XSUAA service instance which is working fine in cloud foundry environment but not in local mode in BAS.

It's giving an error -The redirect_uri has an invalid domain.3.jpg
Does anyone know what am I missing?1.jpg2.jpg4jpg.jpg

Experts yuval.morad , gregorw , mariusobert can you please help?

Accepted Solutions (0)

Answers (1)

Answers (1)

RazK
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi ashish.ahire ,

Please share :

1. your mta.yaml

2. project structure picture

3. manifest.json

4. xs-app.json

5. ui5.yaml

6. package.json

Also image of the network tab and specifically details of the call and response of the failed request.

Regards - Raz

Aashish28
Contributor
0 Kudos

Thanks for the reply raz.korn
I am using manifest.yml approach not mta.yaml.

I followed dj.adams.sap blog - https://github.com/SAP-samples/sap-tech-bytes/tree/2021-02-20-approuter-user-api-service

Project structure attached in here.
Its redirecting to my workspace URL- https://xxxxx00trial.authentication.eu10.hana.ondemand.com/oauth/authorize?response_type=code&client...

Please see other files in my question.