MaikuB / flutter_appauth

A Flutter wrapper for AppAuth iOS and Android SDKs
274 stars 246 forks source link

Failed to get token: [error: invalid_client, description: null] #540

Closed andreacona96 closed 2 months ago

andreacona96 commented 2 months ago

Hello, I am trying to integrate OIDC login into my Flutter app, but the .token() method keeps responding with "Failed to get token: [error: invalid_client, description: null]". When I call the .authorize() method, I can correctly see the authorizationCode, codeVerifier, and nonce. However, when I pass these parameters to the .token() method, I receive the error.

Can you help me?

Thanks.

MaikuB commented 2 months ago

This error occurs when you have a configuration issue and won't be an issue with the plugin itself. As such, this is something you would need to investigate further on your end