Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No reference to xs-security which is required to serve static resources #251

Open
katansapdevelop opened this issue Jan 9, 2025 · 2 comments
Assignees
Labels
size/l Requires large effort to get changed. type/clarity Something was unclear in the documentation. type/content-gaps Something essential is missing in the documentation. ua-review Under review by the UA team

Comments

@katansapdevelop
Copy link

Issue description

You need to ensure that you have oauth2 redirect uris setup or you static content is not served

image

You get an error like this
WhatsApp Image 2025-01-09 at 11 34 35_b419b03b

It may seem trivial but its a key piece to make this function and something that can be easily overlooked as it it not added explicitly by the tooling.

I'd recommend this is either included here or perhaps the troubleshooting is updated to include a reference to this detail

Feedback Type (Optional)

content gaps

Page Title on SAP Help Portal (prefilled)

Resource Files

Page URL on SAP Help Portal (prefilled)

https://help.sap.com/docs/btp/sap-business-technology-platform/resource-files?q=xs-security

@PlamiIG
Copy link
Contributor

PlamiIG commented Jan 9, 2025

Thank you for your feedback! We’ll look into it and come back to you if we have any questions.

@PlamiIG PlamiIG added type/clarity Something was unclear in the documentation. ua-review Under review by the UA team type/content-gaps Something essential is missing in the documentation. labels Jan 9, 2025
@nikolasimeonov77 nikolasimeonov77 added the size/l Requires large effort to get changed. label Jan 27, 2025
@SarahErdmann
Copy link
Contributor

Thank you for your feedback!

We reviewed and considered your proposal. However, we decided not to update Resource Files | SAP Help Portal.

The reason is that the xs-security.json file is a requirement for the xsuaa instance, but it is not a required resource for the application router. For the application router, a binding to an xsuaa instance is optional. Instead of xsuaa, you can also use the Identity Service (ias) with an ias configuration file or use the application router without any binding to an authentication service instance.

You can find information about the xs-security.json file for xsuaa and the OAuth 2.0 redirect URIs here:
Application Security Descriptor Configuration Syntax | SAP Help Portal
Configure Redirect URLs for Browser Logout | SAP Help Portal
Listing Allowed Redirect URIs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/l Requires large effort to get changed. type/clarity Something was unclear in the documentation. type/content-gaps Something essential is missing in the documentation. ua-review Under review by the UA team
Projects
None yet
Development

No branches or pull requests

4 participants