Connect Native Flutter App to Custom API

Hello everyone,

I’m having trouble reaching my express API with the access token generated by the Auth0 SDK for flutter. I did the tutorials for both, API based on express and Native aplication based on flutter, and both are running fine separately, I just haven’t found the way to connect them.

On flutter I get an 401 error, which shows this on express:
UnauthorizedError: invalid signature
code: ‘invalid_token’,
status: 401,

Any help would be appreciated.