WSGI Middleware for OAuth authentication

后端 未结 3 1962
情书的邮戳
情书的邮戳 2021-02-09 00:59

I have build a very small web application using Flask. Now I would like to add very basic authentication to the site (I don\'t need authorization). As Flask does not support aut

相关标签:
3条回答
  • 2021-02-09 01:04

    Flask has an OpenAuth extension that's written by the Armin Ronacher (Flask's author). It provides Flask with support for Open Auth 1.0.

    0 讨论(0)
  • 2021-02-09 01:07

    You should take a look at repoze.who, which is authentication framework for WSGI application with plugins available for:

    • HTTP basic/digest
    • Auth via HTML forms with storing auth ticket in cookies.
    • OpenID
    • OAuth
    • LDAP
    • Many more I don't know...
    0 讨论(0)
  • 2021-02-09 01:17

    If you're looking to authorize clients against facebook, why not use the python sdk they provide that includes an oauth interface found here https://github.com/facebook/python-sdk.

    0 讨论(0)
提交回复
热议问题