nylas / nylas-nodejs

A NodeJS wrapper for the Nylas REST API for email, contacts, and calendar.
MIT License
166 stars 116 forks source link

Changed `clientSecret` to optional for token exchange methods; defaults to API Key now #531

Closed mrashed-dev closed 5 months ago

mrashed-dev commented 5 months ago

Description

clientSecret is not required if the API Key used for the SDK and the clientId belong to the same application.

License

I confirm that this contribution is made under the terms of the MIT license and that I have the authority necessary to make this contribution on behalf of its copyright owner.