New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change outdated oauth libs? #113
Comments
Good point! I am not sure when I will have time to do this myself, so I will be glad if someone sends a PR. |
I think I might be doing it. I might have a few questions as I get into it. I'm not sure if I'll be able to do a complete PR - I may just have time to implement the things I need. I'm on an incredibly tight schedule. |
Feel free to open a halfway implemented migration PR or just leave pointers along your way in this issue! |
Ok - working on it now. The main weird thing is that the grant stuff seems to be handled in |
Really having an issue with the Flask_login stuff: Do you mind telling me if this is behavior specific to the old flask-oauth library?
authlib doesn't have |
That is definitely related to how the old lib operates. I have no idea about how the new one expects this to be organized. |
Unfortunately, I don't have time on this project to use authlib. I made an initial attempt which you can see on my forked lib. But I just did the obvious stuff. |
I'm writing migration guide posts for Authlib now, feel free to ask me questions on StackOverflow. Here is a guide on the client part: https://blog.authlib.org/2018/migrate-flask-oauthlib-client-to-authlib I will finish the server part soon. |
I think I got some of it working. There were changes to how the scopes were stored, and I made a few changes to flask login. |
Maintainer of https://github.com/lepture/flask-oauthlib says - use authlib instead? I'm wondering if the migration process would be difficult given the current tie-ins to permissions api and swagger. I kind of need some of the other social login implementations of authlib.
Found an example migration here: opendatateam/udata#1434
and here opendatateam/udata@30f409b
The text was updated successfully, but these errors were encountered: