Please read the documentation here: https://docs.passwordless.dev
- Get your own API keys here: https://admin.passwordless.dev/signup
- In
Passwordless.Example/appsettings.Development.json
replaceYOUR_API_SECRET
with your own private api key or secret. - (optional) In case of self-hosting,
Passwordless.Example/appsettings.Development.json
replace the value for keyPasswordless__apiUrl
with the base url where yourPasswordless API
instance is running. - In
Passwordless.Example/wwwroot/index.html
replaceYOUR_API_KEY
with your own public api key. - (optional) In case of self-hosting,
Passwordless.Example/wwwroot/index.html
replace the value of constantPASSWORDLESS_API_URL
with the base url where yourPasswordless API
instance is running. - Replace "YOUR_API_KEY" and YOUR_API_SECRET with your own ApiKey / secret
- Run via Visual Studio or
dotnet run --project .\passwordless-dotnet-example\