Provider login redirect
Connect instructs you to redirect the customer to an external page.
When customer selects a provider with a DIRECT integration, Connect will instruct you to redirect the customer to an external page where they will login to their provider’s online dashboard and provide consent for your application to access their tariff.
Handling Redirect
Connect will respond with the session_redirect
route.
You will redirect the session to redirect_url
via HTTP-GET, appending connect_token
.
Handling Callback
Once you redirect the customer’s session to redirect_url
, you will soon receive a callback to the URI you specified when you created the connect_token
via the API. It will have the same query params and payload that you appended to the original redirect.
POST your response to Connect via session_restore
route:
Your customer’s experience with redirects
Your customer will likely interact with only two pages - Login
and Consent
.
However, depending on how the provider implements the login process, the configuration of their account (such as having multiple properties supplied under one contract) and other factors, they may be presented with additional pages: