Login with DIMO SDK
Expedite your build using the Login with DIMO components
Last updated
Was this helpful?
Expedite your build using the Login with DIMO components
Last updated
Was this helpful?
Before getting started, make sure that you've first created a Developer License and application in the DIMO Developer Console, as you will need a clientId
, redirectUri
, and apiKey
for this section.
There are two methods for integrating a Login with DIMO (LIWD) flow into your application:
React Component SDK (for React-based applications)
Use another framework with Redirect URL (for non-React applications)
Select the implementation method above that you plan to use in order to get started.
Pre-built components: The SDK offers pre-built React components that can be imported easily.
Flexibility with multiple integration modes: The components are designed to be flexible with multiple integration modes, such as a popup
or redirect
.
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. .
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.
This SDK utilizes Accounts API for developers and manages to connect to the user's DIMO account. Once connected, it further integrates with the Transactions SDK to perform operations associated with the user's vehicles and permissions.