I faced the same issue, and made the error gone by the following:
- open
LoginApiRequestHandler.kt
under the folder../auth0_flutter/android/src/main/kotlin/com/auth0/auth0_flutter/request_handlers/api/
- 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: