简体   繁体   English

如何在没有 React 的情况下在纯 Django 上进行 JWT 令牌认证?

[英]How to make JWT Token Authentication on pure Django without React?

I am backend dev, and I want to make website without front end, like react or other front end libraries, just on pure Django. I made on Django a website, all is done, and now it is time for JWT Token Authentication.我是后端开发人员,我想在纯Django上制作没有前端的网站,比如react或其他前端库。我在Django上制作了一个网站,一切都完成了,现在是JWT令牌认证的时候了。

Is it possible to make it on pure Django, if yes can you give me a hint how, the best will be some videos or done projects.是否有可能在纯 Django 上制作它,如果可以,你能给我一个提示吗,最好是一些视频或完成的项目。 Thanks in advice:))感谢您的建议:))

If the whole site is Django based, including the rendered HTML - then the best way to go should be using Django's built in authentication system.如果整个站点是基于 Django 的,包括呈现的 HTML - 那么到 go 的最佳方式应该是使用 Django 的内置身份验证系统。

Django Authentication Django 认证

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM