docs: add passwordless authentication example and guide - #875
Merged
Merged
Conversation
Document how to use Auth0 passwordless (email/SMS) via Universal Login, using the connection and login_hint authorization parameters. No SDK code change is needed: authorizationParams already forwards these to the /authorize request. Adds examples/passwordless.js (email and SMS routes) and EXAMPLES.md section 18, including the same-device-only limitation for magic links.
…omment - Add returnTo: '/' to both login routes to prevent a redirect loop after callback (without it the SDK returns to the login route which unconditionally calls res.oidc.login() again) - Update run command from node examples/run_example.js to npm run start:example - Convert single-line comment block to multiline /* */ style
cschetan77
force-pushed
the
docs/passwordless
branch
from
August 17, 2026 10:53
4702422 to
732c286
Compare
amitsingh05667
approved these changes
Aug 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Documents how to use Auth0 passwordless authentication (email one-time code, SMS one-time code, and email magic link) with `express-openid-connect` via Universal Login.
Passwordless is driven entirely through Universal Login: Auth0 hosts the page that sends and collects the code or link. The SDK only needs to signal which connection to use via the `connection` authorization parameter (and optionally prefill the identifier with `login_hint`). Because `authorizationParams` already forwards arbitrary parameters to the `/authorize` request, no SDK code change is required — this PR is documentation and a runnable example only.
Changes
Notes
Testing
Checklist