开发者

Django. Authentication backends

开发者 https://www.devze.com 2023-04-13 09:42 出处:网络
I need to authenticate on some of atlassian services(wiki for example) and on AD(ActiveDirectory). The problem is I don\'t know how to make authentication in different back-ends so user input password

I need to authenticate on some of atlassian services(wiki for example) and on AD(ActiveDirectory). The problem is I don't know how to make authentication in different back-ends so user input password and log-in only once and then backends authenticate user on different services. As I read in docs - django iterates through list of backends till user wouldn't be authenticate on django site. Or maybe i at all think in a wrong way? How should I login on other services? I know about CROWD but guess it doesn't cover functionality for login on my开发者_StackOverflow中文版 MSSQL DB.


you can customize authenticate mechanization by provide your own back-ends. see https://docs.djangoproject.com/en/dev/topics/auth/customizing/

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号