Introduction
Quickstart
Get up and running with our React components. Just signup and follow the guide below!
Not using React? Skip to the next section to learn how to use the SDK within any JavaScript or TypeScript app.
Install the SDK
Initialise the SDK
The above code initialises the SDK inside a React app and displays the GoPasswordlessWidgetComponent
, which will handle the entire lifecycle
of signing users up and loging them in.
You can use the hooks provided to access the user’s authentication token:
Validate the token
You can validate the token server side using the validate
function: