V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
lepture
V2EX  ›  Python

使用 Python 創建 OAuth server

  •  5
     
  •   lepture ·
    lepture · 2018-01-08 22:09:51 +08:00 · 4577 次点击
    这是一个创建于 2293 天前的主题,其中的信息可能已经有所发展或是发生改变。

    四年前寫的 https://lepture.com/en/2013/create-oauth-server 到現在依然是我博客每月訪問最高的文章。Flask-OAuthlib 也是許多 Flask 用戶創建 OAuth client/server 的首選,但是這個庫已經不太好維護了,其依賴的 OAuthLib 目前的管理狀態過於糟糕。

    於是從頭開始,新起了一個項目 Authlib 來替換 Flask-OAuthlib,歡迎大家關注。這個項目是開源的,同時也提供商業 License 和技術支持。目前剛 release 了 version 0.3,可以用 Flask 創建 OAuth 2 server 了:

    https://docs.authlib.org/en/latest/flask/oauth2.html

    今天剛發了一篇介紹文章: https://lepture.com/en/2018/announcement-of-authlib

    最近剛創建了自己的公司 https://hsiaoming.com ,Authlib 便是這個公司的產品。

    10 条回复    2018-04-28 11:35:38 +08:00
    lepture
        1
    lepture  
    OP
       2018-01-08 23:07:00 +08:00
    bingod
        2
    bingod  
       2018-01-08 23:11:44 +08:00   ❤️ 1
    已 Upvote,很棒!
    bazingaterry
        3
    bazingaterry  
       2018-01-09 02:18:59 +08:00 via iPhone   ❤️ 1
    支持,已 up,在日本加油
    menduo
        4
    menduo  
       2018-01-09 11:43:05 +08:00   ❤️ 1
    Cool。已 stat & upvote。
    lepture
        5
    lepture  
    OP
       2018-01-09 14:34:15 +08:00 via iPhone
    It ’ s in Python trending now:

    https://github.com/trending/python
    guyskk0x0
        6
    guyskk0x0  
       2018-01-10 23:21:40 +08:00 via Android
    支持!用过 oauthlib,太复杂了,很难拓展
    lepture
        7
    lepture  
    OP
       2018-01-12 12:19:07 +08:00 via iPhone
    @guyskk0x0 歡迎提意見,我也希望 Authlib 可以容易擴展。
    jianzong
        8
    jianzong  
       2018-04-27 15:21:57 +08:00
    优质的博客文章,关注作者很久了,支持。
    lepture
        9
    lepture  
    OP
       2018-04-28 11:31:25 +08:00
    @jianzong 怎么突然回复了这么老的帖子。同时收到了好多感谢。

    ---

    另外,马上就要发 v0.7 啦。
    jianzong
        10
    jianzong  
       2018-04-28 11:35:38 +08:00 via iPhone
    @lepture 我关注了你,这个帖子在“关注”里面冒出来了,不知道是怎样的推荐算法。我回复后才发现是好多天前的帖子哈哈。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   896 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 21:13 · PVG 05:13 · LAX 14:13 · JFK 17:13
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.