on 2020 Oct 02 12:38 PM
Hi iwona.hahn,
the Running Approuter documentation works fine when you develop in a local environment. Unfortunately it fails with this error:
The redirect_uri has an invalid domain
when using using SAP Business Application Studio.
After adding the following to xs-security.json:
,
"oauth2-configuration": {
"redirect-uris": [
"https://*.trial.applicationstudio.cloud.sap"
]
}
and running
cf update-service b1orders-uaa -c gen/xs-security.json
The error message is different:
Invalid redirect https://x-workspaces-ws-vktdm-app2.eu10.trial.applicationstudio.cloud.sap/login/callback did not match one of the registered values
So I had to add this to xs-security.json:
,
"oauth2-configuration": {
"redirect-uris": [
"https://x-workspaces-ws-vktdm-app2.eu10.trial.applicationstudio.cloud.sap"
]
}
CU
Gregor
Request clarification before answering.
I had similar problem which was solved by yuval.morad : https://answers.sap.com/questions/13144178/run-ui5-app-with-managed-approuter-in-bas.html?childToVie...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
41 | |
15 | |
10 | |
9 | |
6 | |
5 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.