Tutorial
XRPL
Discord Authentication

Set up Discord Authentication

Set up your Discord App

Alt text

Alt text

Set up your Kaiju Developer Portal

Alt text

  • Fill out the fields and click the "Create Project" button.

Alt text

  • Navigate to the 'Settings' tab in the sidebar and obtain the Access Key.

Alt text

  • Click on the “Custom Authentication” tab at the top, then click the “New Verifier” button to set up a new custom verifier.

Alt text

  • Enter the desired name for the “Verifier identifier” (e.g.: discord-verifier).
  • Choose "Social login providers" as the login provider.
  • Select "Discord" as the login provider.
  • Paste the Client ID obtained from the Discord App (above) into the Client ID field.
  • Click the "Create verifier" button to obtain the verifier ID.

Alt text

Setup the project

Alt text

Run the project

  • Run the project.

    yarn dev

  • Login with Discord, and you will navigate to the home page. You can see your wallet details and can do a transaction from there.

ℹ️

At login, the application receives the user Access Token (User Token) and passes it to the getWallet and signTransaction APIs.

Also check the Login Flow , Transaction Flow and Go to Live .