clay / amphora

Middleware for Express that composes components into renderable pages
https://claycms.gitbooks.io/amphora/
MIT License
31 stars 23 forks source link

Support for multiple api keys #520

Open elgreg opened 6 years ago

elgreg commented 6 years ago

When rotating API keys, it is very useful to have an application that can support both the old and new key at the same time so that various services can be updated one at a time.

I spoke a bit with @jonwinton about this and he suggested potentially having a clay app.js pass the apikeys that it wants to amphora when it is setup.

This is something like what that might look like (but branched off of amphora v4.3.0): https://github.com/slategroup/amphora/compare/v4.3.0...slategroup:passing-apikeys-support

pfeytser commented 6 years ago

This falls under auth, which is a topic we're tackling in a few sprints.