Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nylas SDK Issue for exchange code for token. #10

Open
devangparekh1 opened this issue Jan 3, 2023 · 0 comments
Open

Nylas SDK Issue for exchange code for token. #10

devangparekh1 opened this issue Jan 3, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@devangparekh1
Copy link

Describe the bug
I am using Nylas Node SDK in one of my projects and I am using Nylas Hosted Authentication for user Auth, I tried one of the methods named exchangeCodeForToken in my middleware to check the code, but it is failing consistently in verifying the token in exchange of code.

To Reproduce
Try to implement the method in middleware and fetch the code from the headers

Expected behavior
A clear and concise description of what you expected to happen.

SDK Version:
Nylas: 6.6.1

Additional context
I am getting the following error,

Error: No access token in response

@devangparekh1 devangparekh1 added the bug Something isn't working label Jan 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant