
Embedding the app
You can either link directly out tohttps://smartcharging.axle.energy
, or embed the page within a Native app
using a WebView.
Axle will manage onboarding users and controlling their charging.
To connect to a users charger and car, Axle can integrate with your APIs, or Axle also works with Enode to gain
programmatic access to assets.
To see what including Enode in your onboarding flow might look like, see Integrating with native Enode Link SDK
Authentication
IFrame
To securely pass tokens into the smart charging application when hosting in an IFrame, use thepostMessage
API.
Webview
If hosting the Smart charging application within a native application, you can pass in the token as a header in the initial request tohttps://smartcharging.axle.energy/auth/token
.
This page will securely establish a session, then redirect the customer to the appropriate page (a dashboard or proposition screen)
The Axle hosted app will manage further authentication to Axle APIs.
This example is for iOS, but the approach is similar on Android. If you want integration advice, get in touch and we’ll happily provide technical guidance