nylas / nylas-nodejs

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

Added token validation #444

Closed b3ndoi closed 1 year ago

b3ndoi commented 1 year ago

Added token validation for issued access tokens & also ID tokens, both of them is successful return an OpenID for the corresponding user, also needed to extend error handling because of new struct of error on that endpoint

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.