cap-js-community / odata-v2-adapter

OData V2 adapter for CDS. Exposes a full-fledged OData V2 service, converting OData V2 requests to CDS OData V4 service calls and responses back.
https://www.npmjs.com/package/@cap-js-community/odata-v2-adapter
Apache License 2.0
25 stars 10 forks source link

logs contain bearer token #44

Closed MirrorSo closed 5 months ago

MirrorSo commented 6 months ago

Hi,

odata-v2-adapter writes logs which contain bearer token details. This should not be done for security reasons. See screenshot:

image

In CAP this was also changed and only "bearer..." is logged.

Best regards, MirrorSo

oklemenz2 commented 6 months ago

Hello,

yes, that makes totally sense. I will fix this and it will be available with next release.

Thanks for reporting.

Oliver

oklemenz2 commented 6 months ago

Implemented with https://github.com/cap-js-community/odata-v2-adapter/commit/9103de7f261b43b20099bc738b216f08cf6dce76

oklemenz2 commented 6 months ago

expected to be released with next release start of June.

github-actions[bot] commented 5 months ago

This issue is stale because it has been open for 14 days with no activity.

oklemenz2 commented 5 months ago

Fix with release https://github.com/cap-js-community/odata-v2-adapter/releases/tag/v1.12.10