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.jsonreplaceYOUR_API_SECRETwith your own private api key or secret. - (optional) In case of self-hosting,
Passwordless.Example/appsettings.Development.jsonreplace the value for keyPasswordless__apiUrlwith the base url where yourPasswordless APIinstance is running. - In
Passwordless.Example/wwwroot/index.htmlreplaceYOUR_API_KEYwith your own public api key. - (optional) In case of self-hosting,
Passwordless.Example/wwwroot/index.htmlreplace the value of constantPASSWORDLESS_API_URLwith the base url where yourPasswordless APIinstance 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\