Django rest OAuth token on redis -


we planning new chat server our ecommerce django based system. chat server need authenticate user before makes connection. can have private http api validate user auth.

but feel http slow. need store user token on redis , chat server directly validates redis.

we using https://django-oauth-toolkit.readthedocs.io/en/latest/ token generation. default store token on database.

how can make authentication happens on redis server ?

is best approach ?


Comments

Popular posts from this blog

php - Displaying JSON data posts for blog using just the post id -

docusignapi - Documents restrictions within a package -

javascript - angular.forEach loop with $http.get -