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
Post a Comment