Recently in third-party access, the initial set of the use of the OAuth2 agreement, took some time to OAuth2 the authorization of the way to do some understanding.
I remember talking to a colleague about the Internet a year or two ago when I said an idea:
At present, a lot of scarce resources, many of which are provided by the forum to download, the forum provides the download often requires a forum account, what is more, need to reply to be visible, or download need to consume a certain amount of virtual currency, and these currencies can be obtained by forum activity. Suppose I am an ordinary user now, I want to find a resource. Through the search engine or the material, I found that in a forum has this resource download, from other places to obtain this resource cost is higher or can not find at all. When I am ready to download, it is likely to be prompted to log in before it can be downloaded, randomly jump to the registration page.
Register an account for this resource? I think, no matter who in 99% of the situation is not willing to register a only one-time account, but some forums for some reason requires you must provide an account. Well, people like me, of course, are blind to fill in information to register an account. As for the registration of the account need no gold or how much prestige to reply to download such as, here will not nag. The key point of this process is: I registered a permanent insignificant account for a temporary need, this account once used, basically lost value. There are countless boring users spent more than n time in the M-Multi-forum to register n*m a useless account, this process in addition to some statistical indicators beneficial, no value for users.
Can make a platform, so that any user may register an account in any forum, then this account and password automatically registered to the platform as a public account, then, other users to visit this forum, there is no need to re-register the account, directly on this platform, automatic use of public accounts to do the thing. In this way, with the increase in the number of users, the end can be achieved a better situation: most of the temporary operation of the forum, users do not have to register, do not worry about their common account password and other information leakage problems. Although the platform may not be suitable for some forums that have an "economic system" (which requires a paid virtual currency, such as active/post/cash, etc.), it is a valuable product even if the demand is only half solved.
Http://www.cnblogs.com/neutra/archive/2012/07/26/2609300.html
OAuth2 Authorization principle