webflow / js-webflow-api

Node.js SDK for the Webflow Data API
https://www.npmjs.com/package/webflow-api
286 stars 93 forks source link

Allow empty `token` when initializing the library #56

Closed nickfla1 closed 1 year ago

nickfla1 commented 2 years ago

Description

Due to security reasons, our token and authorization with Webflow is handled by a Man In The Middle proxy, forcing us to pass a dummy (and unneeded) string as the token during initialization.

Would it be possible to add a flag to disable requiring the token on initialization? I know it's an edge case but It could be useful to other people/projects as well.

I can provide a PR if instructed with the naming convention.

Thanks!

johnagan commented 2 years ago

Hey @nickfla1 👋 You're welcome to propose a PR and we can review.