Closed orubel closed 1 year ago
ok... sooooo. Long story short. Tried using a cache service for storage of data but that relies on the email being passed through the JWT (which is a HORRIBLE idea).
So now we are delaying this indefinitely until we move to an SDK. End user can set RDBMS through JDBC
User ID for webhooks needs to be hash of User UUID; reason is UUID's can be resalted and reissued thus changing all external associations. Thus if we are passing ID/NAME through principle/JWT, the association will be impossible to determine without backend.
Do not do hash through RDBMS as functionality should be separate from RDBMS; regardless of DB, should be able to hash/compare the same way.
MOVING TO BEAPI-JAVA-SDK
Need to add a HookExchangeService for handling CRUD functionality for all endpoints.
Have already added routing so just have to make sure an exchange is there to process it.