Using Google OAuth2 with Flask

后端 未结 9 2091
粉色の甜心
粉色の甜心 2020-12-07 07:44

Can anyone point me to a complete example for authenticating with Google accounts using OAuth2 and Flask, and not on App Engine?

I am trying to have users g

9条回答
  •  庸人自扰
    2020-12-07 08:00

    Flask-oauth is probably your best bet right now for a flask specific way to do it, as far as I know it doesn't support token refreshing but it will work with Facebook, we use it for that and it's oauth 2. If it doesn't need to be flask specific you might look at requests-oauth

提交回复
热议问题