UI5 middleware for adding basic authentication to proxy requests in UI5 tooling (v0.0.6). It extends the simple proxy from the ui5-ecosystem-showcase, allowing developers to proxy OData or other services behind Basic Auth. Key differentiator: integrates seamlessly with UI5's custom middleware configuration (ui5.yaml) and reads credentials from environment variables (.env). Release cadence: low; last update was 2021. Compared to alternatives like ui5-middleware-proxy, this adds built-in auth support without extra libraries.
npm install ui5-middleware-proxy-basicauthNo compatibility data collected yet for this library.
Configures the middleware in UI5's ui5.yaml and sets Basic Auth credentials via environment variables.
Set PROXY_USERNAME and PROXY_PASSWORD environment variables.
Add the package to both sections as shown in README.
Specify mountPath starting with /.
Check compatibility or consider using a maintained alternative.
Run 'npm install ui5-middleware-proxy-basicauth --save-dev' and add to ui5.dependencies in package.json.
Ensure .env file exists with PROXY_USERNAME and PROXY_PASSWORD set correctly.
Verify the 'name' field matches exactly 'ui5-middleware-proxy-basicauth' and the package is installed.
Add 'baseUri' under 'configuration' in ui5.yaml.