Open emmenko opened 4 years ago
Maybe just an express middleware, then maybe hapi plugin etc exposing certain things on the request would help plugging things together and getting started. A lot of that cruft we could actually steal from promster which works with many servers by now. Alternatively it could also be a complete server but then that could also build on the previous building blocks. Depends a bit on how much existing infrastructure Custom Apps on the server integrate with or if they start from scratch.
Keeping the idea, with the low priority.
It would be helpful to have a package that takes care of most of the setup that an "external API" server would need to work with Custom Applications.
For example, including the JWKs middleware, extracting useful fields from the token, etc.
This would also help with migrations for the API versioning.