You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/fiori-docs-embeddings/data_local/ux-ui5-tooling-README.md
+37Lines changed: 37 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,6 +77,27 @@ Executing `npx fiori run` in your project with the configuration below in the `u
77
77
url: https://my.backend.com:1234
78
78
```
79
79
80
+
#### [Using connectPath for credential retrieval](#using-connectpath-for-credential-retrieval)
81
+
82
+
When credentials are saved against a full service URL (for example, `https://my.backend.com:1234/sap/opu/odata/example/service`) rather than just the base URL, you need to specify the `connectPath` parameter to ensure the correct credentials are retrieved. The `connectPath` should match the path portion of the URL against which the credentials were saved.
By the default the `fiori-tools-proxy` will read the proxy configuration from the Node.js environment variables `proxy`, `https-proxy` and `noproxy`. If those variables are not set, then you can also provide the proxy configuration in the `ui5.yaml` file. **Please note: if you want to exclude any domains from the proxy then you will need to set the `noproxy` variable, e.g. `npm config set noproxy "sap.com"`**.
175
211
@@ -220,6 +256,7 @@ Here is the full list of the available configuration options for the backend pro
220
256
- `ignorePath` (available with version 1.8.5): true/false, Default: false - specify whether you want to ignore the proxy path of the incoming request (note: you will have to append / manually if required)
221
257
- `localAddress` (available with version 1.8.5): Local interface string to bind for outgoing connections
222
258
- `changeOrigin` (available with version 1.8.5): true/false, Default: true - changes the origin of the host header to the target URL
259
+
- `params` (available with version 1.23.0): object, adds query parameters to the proxied request
223
260
- `preserveHeaderKeyCase` (available with version 1.8.5): true/false, Default: false - specify whether you want to keep letter case of response header key
224
261
- `auth` (available with version 1.8.5): Basic authentication i.e. 'user:password' to compute an Authorization header
225
262
- `hostRewrite` (available with version 1.8.5): rewrites the location hostname on (301/302/307/308) redirects
0 commit comments