I can login via my_name@yahoo (not good: putting my password into the system, could get scooped), but the link and bounce via Yahoo doesn't do...anything.

See http://www.oscms-summit.org to test.

Comments

nerdymark’s picture

I have this same problem. App id and shared secret entered properly. You click on the link, it brings you to Yahoo's sign-on page, and after entering my pass, it brings me back to my site, not logged in.

Help? :)

slimandslam’s picture

You should not be able to login using [username]@yahoo syntax. That will have to be a feature I'll add later. I've patched the yahoo_bbauth.module file in CVS to fix that.

However, I don't know why the module is not working for you via the bbauth login link. Do you have
administer->settings->users set to "Visitors can create accounts and no administrator approval is required."?

What do the Watchdog messages say about your login attempt? There should be at least a few msgs listed for every bbauth login attempt.

I just installed drupal 4.7.5 and everything appears to work ok.

boris mann’s picture

You should not be able to login using [username]@yahoo syntax. That will have to be a feature I'll add later. I've patched the yahoo_bbauth.module file in CVS to fix that.

OK...that works right now.

Approval is off -- anyone can create accounts.

No watchdog messages when using login link -- get bounced back from Yahoo after "I agree" and nothing.

When logging in with user@yahoo, get watchdog messages:
* received auth_callback for user "username"
* user "username" is already registered
* External load by "username@yahoo" using module yahoo_bbauth.

Anyone is welcome to try and login / create accounts using the site: http://www.oscms-summit.org

slimandslam’s picture

If there are no watchdog records, then you most likely did not fill out the developer signup form with the proper application URL. If you look in the README.txt file for the module, you'll see this:

"When you fill out the registration form, if your site uses
"clean URLs", then make your "Web Application URL"

[path to your Drupal site]/yahoo_bbauth_login

Otherwise, the "Web Application URL" should be

[path to your Drupal site]/?q=yahoo_bbauth_login

This means that you should have entered:

http://www.oscms-summit.org/yahoo_bbauth_login

in that field when you signed up. So what's happening is
that Yahoo is returning the data to someplace on your site that
has no callback configured so the module does not get run
and no Watchdog records are logged. You need to signup for
another appid/shared-secret using the correct "success" link.

Also, please update the yahoo_bbauth.module file to the one
in CVS. Yours does not work properly (try entering [anything]@yahoo
into the regular login box and it will work).

boris mann’s picture

Status: Active » Closed (fixed)

OK, working. Got the new HEAD. I'm pretty sure I got the URL right before, but somewhere in careful reading and the CVS update, it now works. Thanks!