React Invalid Token 获得未授权,使用 axios ,也无法注销

时间:2021-03-03 07:23:35

标签: reactjs django authentication axios token

React Invalid Token 未获授权,使用 Axios,也无法从用户帐户注销

1 个答案:

答案 0 :(得分:0)

enter image description here

The token does not exist in the backend but is there in frontend local storage, steps for removing from frontend 
    1. Go inside dev tools (ctrl +shift + i) then 
    2. Select Application 
    3.Inside the Application go to Storage then 
    4. Open Local Storage (double click on local storage) then
    5. Clear local storage