D2IR API Authentication flow
Below is component diagram describing both FOLIO and INN Reach components involved in bi-directional authorization required for INN Reach integration.
Below is the sequence diagram for API authentication between FOLIO and INN Reach. Note that depending on scenario FOLIO can act as either Client or Server.
Assumption
- No needs in verifying Inn Reach token on mod-inn-reach
- Back-end module can establish outcome connections to external systems
- Aka system user is required and efficient to generate X-Okapi-Token and route an incoming request into FOLIO platform