Auth0 Home Blog Docs

Passwordless auth issue on Android


Hi! I’m using Auth0.Android 1.13.0 to setup passwordless authentication in my native app. I’m following this guide:

I was able to send out the email with the code, however i’m unable to sign in, i got the following error on my log:

07-12 22:35:15.734 10348-10639/io.nold.keychain D/OkHttp: --> POST HTTP/1.1
    Content-Type: application/json; charset=utf-8
    Content-Length: 175
    Auth0-Client: XXXX
    Accept-Language: hu_HU
    {"password":"XXXXXX","scope":"openid offline_access","client_id":"XXXXXX","username":"XXXXXX","connection":"email","grant_type":"password"}
    --> END POST (175-byte body)
07-12 22:35:15.834 10348-10639/io.nold.keychain D/OkHttp: <-- HTTP/1.1 404 Not Found (102ms)
    Date: Thu, 12 Jul 2018 20:35:15 GMT
    Content-Type: text/plain; charset=utf-8
    Content-Length: 9
    Connection: keep-alive
    X-Auth0-RequestId: abfe27a2f73626edf851
    X-RateLimit-Limit: 10
    X-RateLimit-Remaining: 9
    X-RateLimit-Reset: 1531427716
    Cache-Control: private, no-store, no-cache, must-revalidate, post-check=0, pre-check=0
    OkHttp-Sent-Millis: 1531427715747
    OkHttp-Received-Millis: 1531427715837
    Not Found
    <-- END HTTP (9-byte body)
07-12 22:35:15.834 10348-10639/io.nold.keychain D/auth0: An error occurred when trying to authenticate with the server.

I’m guessing its because the /ro endpoint is deprecated and it should be oauth/token instead?