Hey everyone,
I am having trouble with Nylas API authentication and I would really appreciate some help. I followed the documentation to set up OAuth for email integration but I keep getting an “Invalid Grant” error when trying to exchange the authorization code for an access token.
Here’s what I have done so far:
Created an app in the Nylas dashboard.
Set up OAuth redirect URL properly.
Received the authorization code successfully.
When I try to exchange it for an access token, I get the error.
Has anyone faced this issue before: ?? Am I missing something in the request headers or body: ?? Also, does Nylas require any specific permissions that I might have overlooked: ??
Any insights would be super helpful !!
Thanks in advance.