Kong oauth2 in redis

I am in a situation where I’ve too many call to my postgres db due to the use of the oauth2 plugins. that’s true that my client are not using very well oauth and request too often new oauth tokens but still the expiration logic make too many call to postgres as well.

Also the use of oauth force to be dbfull which is a big concern to me.

So my proposal is to move the token storage to something like a redis. this way we can have the best of both world. a dbless config and a fast storage.

I’ve read the code and I don’t see big blockers.

Wdyt ?

© 2019 Kong Inc.    Terms  •  Privacy  •  FAQ