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.

Hi @jose.runin,

Welcome to the Auth0 Community!

First thing I would do is take copy of the token and inspect it with You can post an example here and I can take a look at it too. This error code suggests something is wrong with your token, malformed or otherwise.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.