Getting a {“error”:“bad.connection”,“error_description”:“Missing required property: connection”}
even though the connection is very obviously in the params. Have tried multiple variations with various params as found here: Authentication API Explorer
Documentation around this is circular and extremely frustrating
Trying to use this with Universal Login Page, New Experience – if that matters.
Maybe I’m doing this wrong, but what I want to do is, from my regular web app, click a button that launches the Universal Login, and does the entire SMS send/code response flow on your servers, and then returns to me through a callback with a code/token that says “this user is authenticated”. What am I doing wrong if that’s my goal?
I am trying to do this entirely over phone and SMS. No email. JUST Passwordless sms
You are sending the required information (client id, secret, connection) as query parameters which is not what the API is expecting, so it throws an error.
You need to send those parameters as the body of a POST request, not in the URL, like a GET request.
This stack overflow question lays out the differences:
Here is a resource on how to send a post request with body data using Python’s request library.
Enable the Custom Login Page toggle, and select the Lock (passwordless) template. The HTML template will update with code using the Lock widget with passwordless customization options.
Customize the template, and click Save Changes
Now, if you select preview and select your application in the drop-down menu you should see an SMS passwordless prompt.
Is that the audience you’re expecting? Typically it’s the URL of the resource you’re trying to access. For example, https://test.com/api. It should be a custom API you set up an Auth0.
Can you share the authorize request you’re making? Please be sure to omit sensitive data.