lemaiwo / ui5-middleware-route-proxy

UI5Tooling route proxy
MIT License
11 stars 4 forks source link

Allow use of dedicated Authorization header & additional http-proxy parameters #12

Closed faustefan closed 3 years ago

faustefan commented 4 years ago

Hi Team,

thanks a ton for this tool and the relating blog. I stumbled over the blog when trying out some local development using ui5 tooling and a SCP CloudFoundry based application backend.

To support this, I have added the capability to specify a dedicated Authorization header instead of the basic authentication values for username and password in the configuration. This is because OAuth Tokens are required for the authentication instead of the username / password that can usually be used for ABAP based development systems. Users can then specify their access token which they have generated for themselves instead of the username / password.

I also added another option from the http-proxy which is needed for the SCP use case. Further settings could be added in the same way later if needed.

I also fixed some issues with the documentation that were pointed out in some issues (#9 & #10).

I hope this PR is welcome an according to your standards.

BR, Stefan

faustefan commented 4 years ago

Sorry for the force push. I had used my corp author details on the commits by accident.

lemaiwo commented 3 years ago

Thank you for the pull request! Merged and published to npm. Apologies for the late reply!