Login with DIMO

Login with DIMO is a React component SDK, providing developers with a set of pre-built, customizable building blocks for applications that integrate with DIMO. These components simplify the process of integrating Accounts API and Transactions SDK in React applications.

Key Features

  1. Pre-built components: The SDK offers pre-built React components that can be imported easily.

  2. Flexibility with multiple integration modes: The components are designed to be flexible with multiple integration modes, such as embed, popup, or redirect.

  3. Login with DIMO: End users are presented with a email login field, and an OTP will be sent to the email for authentication. A passkey prompt will be triggered after the OTP for either setup or login. This utilizes the Accounts API for developers.

  4. Integration with the Transactions SDK: The React components seamlessly integrate with the Transactions SDK, allowing you to leverage the SDK's features and functionalities such as creating a vehicle and sharing vehicle permissions, etc.

Integration Modes

Embed

The embed mode basically embeds an iframe HTML element that surfaces the Login with DIMO interface.

The popup mode surfaces a React button component that opens up a browser pop-up (new window) containing the Login with DIMO interface.

Redirect

The redirect mode surfaces a React button component that redirects the users to the Login with DIMO interface.

Core Functionalities

DIMO Account Logins

Login with DIMO allow developers to surface an interface for the end users to authenticate by integrating with the Accounts API. This functionality sets up the smart contract wallet for the end user, giving full root access to the user (and only the user), enabling logins across all DIMO platforms with the use of a passkey.

DIMO Check-in

Learn more about how passkey is more secure and the future for Internet security in this Google blog: https://blog.google/inside-google/googlers/ask-a-techspert/how-passkeys-work/

Vehicle Onboarding

Vehicle Permission Sharing

Potential Future Functionalities

  • Customize permissions via SACD

  • Unpair and delete all vehicles and devices

  • Delete Account

  • Transfer DIMO vehicles and/or devices

  • View balance and transfer DIMO tokens

  • Delegate DIMO tokens

  • Enable onramp to crypto

  • Execute arbitrary transaction

  • Subscriptions

    • Initiate subscription

    • View/manage subscription

  • View app activity log

  • Link wallets, emails, passkeys to existing account

  • Upgrade account to fleet account

  • Create synthetic device in web view

Last updated