3 ms·
I think the problem is that OAuth isn't usually touted as a sign-on standard, only an "access API info" standard. With a couple tiny tweaks OAuth could be a sta
by mbleigh 18y ago
I think the problem is that OAuth isn't usually touted as a sign-on standard, only an "access API info" standard. With a couple tiny tweaks OAuth could be a standard that allows for this kind of "Connect" protocol for any web application.
Specifically, all that would need to happen to make this perfect is for OAuth requests for a user that already have an access token automatically push through to the callback phase instead of requiring a "re-allow" of the client's services. This wouldn't conflict with the OAuth spec in any way that I'm aware of.
- _pius 18y agoLooks great! One suggestion though: it'd be nicer if the plugin used module mixins rather than class inheritance to decorate the User model with your TwitterAuth functionality.