singingwolfboy / flask-dance

Doing the OAuth dance with style using Flask, requests, and oauthlib.
https://pypi.python.org/pypi/Flask-Dance/
MIT License
1k stars 157 forks source link

Comparison vs authlib/loginpass #250

Open cancan101 opened 5 years ago

cancan101 commented 5 years ago

As part of the README, it would be helpful to have a comparison section vs alternative libraries. authlib/loginpass seems the most relevant.

daenney commented 5 years ago

I don't really want to do that. Those things are rarely genuine or truthful and I don't see much need to compare ourselves to anyone else. It takes a second to skim each README and make up your own mind. We might want to explain a bit better what flask-Dance does in the README, but that's about it.

nickolay commented 5 years ago

That's a shame; some sort of comparison (even if just admitting these are competing libraries) would be useful IMO.

It appears that:

Unfortunately both projects' README do not mention OpenID Connect, which is an extension of OAuth2 intended to be used for authentication, but I've verified that using loginpass with Google does the OIDC "Authorization Code" Flow as described in Google's docs:

flask-dance on the other hand appears to implement a plain OAuth2 (without the OpenID Connect extensions) flow, like loginpass' predecessor https://github.com/lepture/flask-oauthlib did.

singingwolfboy commented 5 years ago

@nickolay: your comparison feels accurate to me. Would you like to make a pull request to the docs directory of this project, and add it to the documentation?

nickolay commented 5 years ago

@singingwolfboy Thanks for confirming! I'm going to pass on making a PR for this, but if anyone else wants to reuse any part of my comment to make a proper PR, they should feel free to do so.

lepture commented 4 years ago

Thanks for mention loginpass. Yes, loginpass is a very simple wrapper around authlib.

@nickdirienzo

Unfortunately both projects' README do not mention OpenID Connect

No, loginpass readme "Features" section has:

It supports OAuth 1, OAuth 2 and OpenID Connect for now.

Apparently, loginpass is still in its early stage, and lacks of documentation.