let me kick off the touchpoint for the Building side-by-side extensions on SAP BTP learning journey.
I’d first like to welcome everyone and introduce me on all matters regarding the
SAP Learning Jounrey Building side-by-side extensions on SAP BTP
Markus Haug, Product Learning Specialist @ SAP
At SAP Learning, I'm a strong advisor, advocate, and partner for our developers, customers, and partners. I bring a unique combination of technical expertise, product knowledge, and speaking skills to help developers learn the basics, overcome challenges, and pass SAP certifications worldwide.
My current focus is on building world-class online content and learning experiences for developers of the SAP Business Technology Platform (SAP BTP) in cloud-native application/extension development.
All our Touchpoints are collaborative environment designed to get support your learnings.
Here you can share your expectation and exchange.
I would like to encourage you to introduce yourself and let us know your motivations and expectation.
If you have a question or comments, this is the right place for you!
No question is too simple or complex – we look forward to hearing from you.
I'm not sure if I'm correct here, but I would like to know if BTP is ready for SAP Business One now? We are very unsure if we should get certified for BTP platform if it is not ready for SBO yet.
Can you help me with this problem?
With kind regards,
In the manual deployment step, where the "oauth-configuration" attribute is added on the XSUAA resource, it mentions we should add the approuter URL. This also stated in the SAP Note in case there is an error with the domain. However, the learning course does not explain where should we pick the approuter URL or if we should add ourselves based on the app name + domain name from the BTP region and account.
Can you share what should be done in this part?
@JTR refer the redirect URI
you can use wildcard in the URI:
I'm getting an error during Manual deployment. Can you please help? Please see attached image for the said error.
@emmanuelt Please make sure the subaccount has all the service and respective plan assigned in 'Entitlements':
for example: one of the error is for offering "hana" and plan "hdi-shared":
similarly for 'xsuaa' and plan "application":
Your solution works. Thanks!
However, I'm still getting another error: Error creating or updating application "risk-management": Controller operation failed: 422 Unprocessable Entity: CF-UnprocessableEntity(10008): Routes quota exceeded for organization 'xxxxxxxtrial_trial-us-xxxxxxxx'.
I checked my space and it says "100% of memory quota used". I Appreciate your help, thanks.
@emmanuelt for this this learning journey please check in global account and assign maximum units for cloud foundry to your subaccount:
then check your subaccount for the quota if it is assigned to your Cloud foundry space.
I was able to successfully deployed it now. Thanks for your help. Though, I still have one more problem after the deployment. I kept getting "Authorization Request Error. There was an error. The request for authorization was invalid" when trying to open the app.
@emmanuelt I'm having the same problem after successful deployment.
But there was one time i removed the app-router URL in the "redirect-uris" parameters and this problem disappeared.
Then, i just experienced an error "Forbidden" when executing the get call to retrieve the info in the application but i interpreted as being connected to the roles as i haven't yet assigned to myself.
Still need to figure out this part.
refer the redirect URI
you can use wildcard in the URI:
In regards to your comment, this is one of the questions i had and was confused.
Documentation in Help SAP, aligned with your comment, indicates this property should be maintained on the xs-security.jon but the exercise steps indicate it should be added on the mta.yaml file.
Can they be added on both? Should they be added on both?
On an additional level, i understand the usage of wildcard but the exercise also states "-app-router" in the URI. Is this supposed to be the final URI that will be the application which is consumed by the user? And in SAP BTP DEV space will include another URL from the approuter which then redirects to the defined URI on oauth2 parameter?
Anyway, i haven't done a new deployment the past days but it's working now fine for me. Even the odata calls to each service.
Thank you @VinayKumawat
Hi @JTR, thank you for pointing it out. I have added the "redirect-uris" code in xs-security.json instead of mta.yaml file. Unfortunately, I'm getting "Not Found" page after I access the app. I have already redeployed this.
Hi @VinayKumawat, kindly advise. Thanks
@emmanuelt @JTR please add into mta.yaml
you can construct this URL by looking at the API endpoint in subaccount:
it is https://api.cf.us10-001.hana.ondemand.com so rediect uri can be:
for more details refer 2864831 - "The redirect_uri has an invalid domain" error when using a custom domain in Cloud Foundry...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.