Connect is the client-side component that your users will interact with in order to link their accounts to Gandalf and allow you to access their data.
Connect will handle credential validation, multi-factor authentication, and error-handling for every service that Gandalf supports. You can use Connect in any kind of application (web or mobile) - it’s as simple as just adding a link to your app.
Connect is an App Clip & Instant App. These let users enjoy native app experiences without the need to download a full app. Learn more on Apple Developers & Android Developers
The diagram below shows how Connect is used to obtain a dataKey, which is used server-side to request data.
The flow begins when your user wants to link their account/data to your application.
Open Connect for your users by navigating to the Connect URL. Pass your publicKey, redirectUrl and the data source(s) you want to read data from.
After your user is done linking their account(s), Connect will navigate to your redirectUrl with a query parameter called dataKey.
This dataKey will be used to make requests to the Sauron API
Once your end-user signs into a data source like Netflix or Amazon, they won’t need to sign in again. Their session stays active, just like in a browser.