Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我使用基于 JWT 的身份验证时,这是一个非常简单的问题,如果我想注销,似乎没有我可以向其发出请求的 url。localStorage与需要向其发出请求的基于令牌的身份验证不同,简单地清除并刷新页面是否可行/token/logout/?
localStorage
/token/logout/