Flutter-auth0.api.login-issue

The request is made without validating claims. Enable claim validation by calling AuthenticationRequest#validateClaims()
I facing this issue while calling auth0.api.login in flutter

1 Like

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

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