Password less validation

We are trying to integrate Auth0 , in our system. We don’t want to use lock.js.

We got stuck in one place, in password less code validation…

What api has to be called to verify the code?
After receiving the one time code through email,
We are calling this api,
/passwordless/verify_redirect? client id= {} & verificationcode={} & scope.

Is there any samples in spring code.
Any help is greatly appreciated …please let us know

Have you gone over this passwordless documentation?