We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently, the docs are a bit misaligned on API routes when it comes to user-implemented backend endpoints.
For example, docs for the JS client (frontend) use /create-token and /signin: https://docs.passwordless.dev/guide/frontend/javascript.html#register
/create-token
/signin
While the docs for the .NET client (backend) use /create-token and /verify-signin: https://docs.passwordless.dev/guide/backend/dotnet.html
/verify-signin
Additionally, docs for the JS client assume that /create-token returns the raw token (string) directly: https://docs.passwordless.dev/guide/frontend/javascript.html#register
While the docs for the .NET client return the token as part of a JSON object: https://docs.passwordless.dev/guide/backend/dotnet.html
This inconsistency can lead to silly bugs and it would be nice to standardize on some convention.
The text was updated successfully, but these errors were encountered:
Agreed. Previously we returned a string but switched to returning an object, so the JS-client docs are just out of date.
Sorry, something went wrong.
No branches or pull requests
Currently, the docs are a bit misaligned on API routes when it comes to user-implemented backend endpoints.
For example, docs for the JS client (frontend) use
/create-token
and/signin
: https://docs.passwordless.dev/guide/frontend/javascript.html#registerWhile the docs for the .NET client (backend) use
/create-token
and/verify-signin
: https://docs.passwordless.dev/guide/backend/dotnet.htmlAdditionally, docs for the JS client assume that
/create-token
returns the raw token (string) directly: https://docs.passwordless.dev/guide/frontend/javascript.html#registerWhile the docs for the .NET client return the token as part of a JSON object: https://docs.passwordless.dev/guide/backend/dotnet.html
This inconsistency can lead to silly bugs and it would be nice to standardize on some convention.
The text was updated successfully, but these errors were encountered: