Working implementation of OAuth 2.0 connected with Redis