Please read the documentation here: https://docs.passwordless.dev
This example uses Spring Boot 3 Web and provides UI and REST interfaces to interact with the Passwordless Java SDK to the Passwordless API.
JDK 17 or newer is required to run the application.
- Get your own API keys here: https://admin.passwordless.dev/signup
- Change the value of the
passwordless.api.public-key
andpasswordless.api.private-key
in application.properties with your API Public Key and Secret. - (optional) In case of self-hosting, change the value of the
passwordless.api.url
with the base url where your Passwordless API instance is running. - Start the application
./mvnw spring-boot:run
- The application will now listen on port
8080
e.g. http://localhost:8080, where you can Sign In and Register users within your Application. - For all Passwordless API functionalities supported by Java SDK, navigate to http://localhost:8080/swagger-ui/index.html
- See Example Passwordless REST Api requests and responses