Skip to content

Update oauth config in xs-security.json #23059

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

Merged
merged 2 commits into from
May 23, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tutorials/cap-service-deploy/cap-service-deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ The MBT Build tool uses the `mta.yaml` file that has been created using `cds add
> In the previous step, you identified your API endpoint. If that has a format like `...us10-001...`, you need to add the following configuration to your `xs-security.json`:
> ```json
> "oauth2-configuration": {
> "redirect-uris": ["https://*.cfapps.us10-001.hana.ondemand.com/**"]
> "redirect-uris": ["https://*.us10-001.hana.ondemand.com/**"]
> }
> ```
> For other API endpoints you'd need to adapt it accordingly.
Expand Down Expand Up @@ -146,7 +146,7 @@ The MBT Build tool uses the `mta.yaml` file that has been created using `cds add
```
This is the URL of the AppRouter, which enforces the authentication flow.

4. Open this URL in the browser and try out the provided links, for example, `.../catalog/Books`. Application data is fetched from SAP HANA. If enabled in step 1.3 you can also try the **Fiori preview**.
4. Open this URL in the browser and try out the provided links, for example, `.../catalog/Books`. Application data is fetched from SAP HANA. If enabled in step 1.4 you can also try the **Fiori preview**.

<!-- border -->![application preview](application_cloud_fiori.png)

Expand Down