Callback not allowed

Trying to authenticate using this URL “http_s://api.us.nylas.com/v3/connect/auth”

I get this error.

For Application given RedirectURI ‘http://localhost:3000/api/nylas/callback’ is not allowed

I’ve added this exact callback uri inside nylas Dashboard → Hosted Authentication → Callback URIs, and I still receive the error.

Any ideas?

If it matters, it’s a sandbox application.

1 Like

Never mind. I just needed to change the url to eu instead of us.

Make sure to match it with your application guys. thanks.

1 Like

@owensully I’m glad you find the solution on your own :smiley: