diconium / ethereal-pulse

Apache License 2.0
1 stars 3 forks source link

BFF: Inject WebApp API KEY and userId on requests to the Ethereal Server #122

Open FernandoDiconium opened 3 days ago

FernandoDiconium commented 3 days ago

Draft: when remix.js client request a bff endpoint, use some global configuration interceptor/middleware related to remix.js for implements when necessary requests data for Server API, always inject the exclusive Web app API Key and userID in the header

Note that request to the userID database should not (ate least don't need) to have this key in them.

FernandoDiconium commented 2 days ago

@danielfernandes2022 Turns out the server part is already being done by @almeiphi. Because of this I have assign you to this task instead, but I will also try to solve it on my side. We can then exchange knowledge on how to better implement this.