-
Notifications
You must be signed in to change notification settings - Fork 555
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot verify passwordless code: Missing required property: client_id #2027
Comments
@seanaye sounds odd - I will debug it this week and see what I can see. |
@stevehobbsdev thanks very much, this is a blocker for us. I have started a fork to fix, but would prefer a "real" resolution |
It sounds odd; I would have expected to hear more about this if there is actually a problem in the SDK. A potential fix would probably reside in Auth0.js as that's what Lock uses to interact with the auth API. |
I suspect it might have something to do with the environment the code is running in. Its a |
Don't worry about the auth0.js issue, I'd rather not have duplicate issues dotted around as it makes investigation harder. Let me have a look this week - but this is running inside Electron? Where does |
loginWithRedirect is a function call from the actual react app, from the auth0-react library. AFAIK his function just loads the universal login window with the correct url parameters. Will follow up with repro link of the issue. |
A repro would be great, thanks. |
https://github.com/seanaye/auth0-passwordless-repro Usage:
|
You were right the issue is in the auth0.js package, my fork has fixed the issue with the following line of code https://github.com/coparse-inc/auth0.js/blob/27507bffc6d7514cb39b43fddc7b111113160ab4/src/authentication/passwordless-authentication.js#L205 |
Makes sense 👍🏻 feel free to raise a PR against auth0.js and we'll get it in. Thanks |
Describe the problem
There appears to be a problem with this library sending to the
/passwordless/verify
endpoint.This library will not send the
client_id
to the endpoint even though it is defined on the class at initialization. Theclient_id
is also properly sent on the request topasswordless/start
I am using the current Auth0 template for passwordless login from the dashboard at the time of writing
What was the expected behavior?
Since the
clientID
is correctly defined on class, this library should correctly send theclient_id
topasswordless/verify
Reproduction
config
Environment
Screenshots with sensitive information redacted to show what happens when above template code runs. Note that the clientId is defined on the config object, even though I have redacted most of it for privacy reasons


The text was updated successfully, but these errors were encountered: