This is an example project, intended to demonstrate how an app developer might integrate with an Internet Identity.
For a non-typescript implementation, see https://github.com/krpeacock/auth-client-demo/tree/vanilla-js
This is an example showing how to use @dfinity/auth-client.
To get started, you might want to explore the project directory structure and the default configuration file. Working with this project in your development environment will not affect any production deployment or identity tokens.
To learn more before you start working with auth_demo, see the following documentation available online:
To get started, start a local dfx development environment in this directory with the following steps:
cd auth-client-demo/
dfx start --background --clean
dfx deploy
Once deployed, start the development server with npm start
.
You can now access the app at http://localhost:8080
.