This workflow starts with the redirect link leaving from either Authorize Consent Redirect Approach or Authorize Consent Embedded Approach. This redirect link will be used by the ConsetAuthorizeUI to start the FinTechUI.
Receiving a 302_RedirectToFintech from the ConsentAuthorisationAPI, the ConsentAuthorisationUI starts the FinTechUI using the location param.
The FinTechUI uses the provided auth-id to load the xsrfToken stored for the corresponding auth-id.
FinTechUI uses the provided auth-id to build the backendUrl used to forward the request to the FinTechAPI. The url has the form: /v1/{auth-id}/fromConsentOk.
The FinTechAPI uses the provided xsrfToken and RedirectCookie to legitimate the redirect request.
The finTechConsentSessionState will be used to read and validate the corresponding FinTechConsentSessionCookie.
This end point is invoked by the FinTechApi to retrieve token used to send subsequent service requests to the TppBankingApi. We call this token PsuConsentSession.
Forward request to banking protocol.
The returned PsuConsentSession is stored by the FinTechApi for future use.
At the end of the consent process, the FinTechAPI issues a redirect to the FinTechUI to display the original page to the user.
Upon displaying the original page, the FinTechUI can reissue the original request to the the FinTechAPI.
Regular execution of the banking service.