Like Google, Yahoo offers either plain OpenID for authentication or an OpenID+OAuth hybrid authentication granting access to Yahoo applications while authenticating a user for sign-on. Unlike Google, Yahoo requires the application to register in advance the scope of the API token to issue. Using the Yahoo OAuth requires registration of a Yahoo application.
Yahoo Developer Links:
Like Google, the Yahoo provider requires that an OpenID provider configuration be present in your configuration file in order to provide the Realm and Store configuration values.
Warning
The Realm must point to a valid DNS name that is resolvable by Yahoo’s authentication servers. If this is not the case, Yahoo will consider the authentication invalid and display an error message.
The following parameters are only required if using the OAuth hybrid:
Since Yahoo declares the scope of OAuth with the application, you only need to provide the oauth POST parameter if you want OAuth to take place (which requires a Yahoo application to be created, and configured in the YAML as shown above).
Complete Example:
<form action="/velruse/yahoo/login" method="post">
<input type="hidden" name="oauth" value="true" />
<input type="submit" value="Login with Yahoo" />
</form>
Bases: velruse.providers.openid.OpenIDAuthenticationComplete
Yahoo auth complete
Add a Yahoo login provider to the application.
OpenID parameters: realm, storage
OAuth parameters: consumer_key, consumer_secret