Are you using Redux for State management? You could pass in the UserInfo which will include the refresh and access token to the states.
On Sat, 8 May 2021, 5:49 am narendra...@gmail.com, < narendrathapa...@gmail.com> wrote: > i'm using django as my backend and react as frontend. i'm using simplejwt > for authentication. i can get access and refresh token and has stored in > httponly cookies. now i'm not able to refresh a token. can somebody help me > out? > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/978ecb8d-10c7-4152-b538-49edb911c3acn%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/978ecb8d-10c7-4152-b538-49edb911c3acn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Disclaimer: This e-mail and attachments are confidential and may be privileged and protected from discovery or disclosure. If you are not the intended recipient, be aware that any disclosure, copying, dissemination or use of this e-mail or any attachments is prohibited. If you have received this e-mail in error, please notify the sender immediately and erase all copies of the message and its attachments. Any views expressed are those of the individual sender(s) and may not necessarily reflect the views of the Kenyatta University. <http://www.ku.ac.ke> <https://www.facebook.com/kenyattauni/> <https://plus.google.com/u/0/101726393221697663110> <https://www.linkedin.com/edu/kenyatta-university-14427> <https://www.linkedin.com/edu/kenyatta-university-14427> <https://twitter.com/KenyattaUni> -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAMipkRk11bwsS%3Dp%2BfyiF5z8kFE92YAh61aYtAXG%2BtxD_fxLtyw%40mail.gmail.com.