Tutorial
XRPL
Google Authentication

Set up Google Authentication

Set up your Google App

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.: google-verifier).
  • Choose "Social login providers" as the login provider.
  • Select "Google" as the login provider.
  • Paste the Client ID obtained from the Google 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 Google, 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 ID Token (User Token) and passes it to the getWallet and signTransaction APIs. This ID Token must include the email as a claim.

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