Flutter-auth0.api.login-issue

I faced the same issue, and made the error gone by the following:

  1. open LoginApiRequestHandler.kt under the folder ../auth0_flutter/android/src/main/kotlin/com/auth0/auth0_flutter/request_handlers/api/
  2. add this line: loginBuilder.validateClaims():
...
...
if (args["parameters"] is HashMap<*, *>) {
    loginBuilder.addParameters(args["parameters"] as Map<String, String>)
}

loginBuilder.validateClaims()
...
...

See this thread for more info:

1 Like