Getting Started with JustAuth
Installation
To install JustAuth in your project, use either npm or yarn:
Using npm:
Using yarn:
Setup
After installation, follow these steps to set up JustAuth in your React application.
Import the required components:
Wrap your main application component with the
JustAuthProvider
:Replace
"YOUR_APP_ID"
with the actual app ID provided by JustAuth.
Configuration
To configure JustAuth, follow these steps to obtain an appId
:
Sign up for a JustAuth account:
Create a new application:
After signing up, navigate to the dashboard and create a new application.
Copy the
appId
:After creating the application, copy the
appId
from the dashboard.
Use the
appId
in your application:Replace the
appId
in theJustAuthProvider
setup with the one from the dashboard.
With the setup complete, you’re ready to start using JustAuth in your Tron dApp!
Last updated