cirrusidentity / simplesamlphp-module-authoauth2

OAuth2/OIDC Authentication module for SimpleSAMLphp
GNU Lesser General Public License v2.1
31 stars 27 forks source link

Yahoo docs #17

Open dnmvisser opened 4 years ago

dnmvisser commented 4 years ago

Hi

I'm already successfully using this module to authenticate to Google and Linkedin. But for Yahoo! I'm still using openid:OpenIDConsumer. I'd like to start using authoauth2 for Yahoo! as well, but I'm a bit lost as to where to start. The docs only say moving from OpenID 2 Yahoo logins to OIDC Yahoo logins requires creating a Yahoo app. Are there any pointers? thx

pradtke commented 4 years ago

In terms of module config, I think use 'template' => 'YahooOIDC' and of course set client id and secrets

In terms of Yahoo registration, https://developer.yahoo.com/oauth2/guide/openid_connect/getting_started.html

Yahoo is quirky: it doesn't let you edit the scopes you requested or your callback domain. Their documentation about scopes is really confusing, and the behavior seems buggy. We've found that requesting Profiles -> Read/Write scope and using the default settings in 'template' => 'YahooOIDC' seems to work.

I'll be interested in how your experience with Yahoo's OIDC goes.