can report that the osso_provider and osso_relying sandbox modules seem to work fine (yeah!) between stock D6 sites hosted within Aegir 1.0

so, thanks felix (thanks alex barth) !!

will test this now with various combinations

i.e. D6 provider
relying Open Atrium, Drupal Commons, Open Scholar etc..

CommentFileSizeAuthor
#8 1156278.patch551 byteslelizondo

Comments

niccolox’s picture

Issue tags: +OpenID

continuation from openid_provider http://drupal.org/node/1152948

niccolox’s picture

D6 provider and OpenAtrium works kinda (creates accounts), but has the problem of sending to Access Denied page

D6 provider and Drupal Commons 1.5 works sorta (creates accounts, but throws error and then gives a failed to login error

whitescreen error

Fatal error: Call to undefined function feeds_scheduler() in /var/aegir/platforms/commons/commons/docroot/sites/all/modules/osso_relying/sync_user/sync_user.module on line 192 Call Stack: 0.0019 349876 1. {main}() /var/aegir/platforms/commons/commons/docroot/index.php:0 0.5721 29217536 2. menu_execute_active_handler() /var/aegir/platforms/commons/commons/docroot/index.php:18 0.5729 29254460 3. call_user_func_array() /var/aegir/platforms/commons/commons/docroot/includes/menu.inc:348 0.5729 29254652 4. openid_authentication_page() /var/aegir/platforms/commons/commons/docroot/includes/menu.inc:0 0.7701 29404400 5. openid_authentication() /var/aegir/platforms/commons/commons/docroot/modules/openid/openid.pages.inc:16 0.8437 30198104 6. user_save() /var/aegir/platforms/commons/commons/docroot/modules/openid/openid.module:465 0.8480 30210520 7. user_module_invoke() /var/aegir/platforms/commons/commons/docroot/modules/user/user.module:340 0.9793 34660232 8. sync_user_user() /var/aegir/platforms/commons/commons/docroot/modules/user/user.module:22 0.9794 34660396 9. sync_user_subscribe() /var/aegir/platforms/commons/commons/docroot/sites/all/modules/osso_relying/sync_user/sync_user.module:63 

login warning error

ccount registration using the information provided by your OpenID provider failed due to the reasons listed below. Please complete the registration by filling out the form below. If you already have an account, you can log in now and add your OpenID under "My account".

    * The name ossotest11 is already taken.
    * The e-mail address ossotest11@ossotest11 is already registered. Have you forgotten your password?


niccolox’s picture

just realized the drupal commons problem was related to conflicting osso legacy modules... working through that now

niccolox’s picture

ok, so after removing the dev seed osso modules dc and oa are in very similar situation

they both get hung-up on Access Denied for /openid/authenticate

Location	http://ossoauthdc2/openid/authenticate
Referrer	http://ossoauthprovider/openid/provider/continue
Message	openid/authenticate
Severity	warning

I think its related to http://drupal.org/node/365597 and maybe http://drupal.org/node/951626

niccolox’s picture

and strangely after the first login/logout, the next login works fine, seemlessly

so, its basically working for the D6 provider, DC & OA as relying, with the Access Denied bug needing ironing out

AmesEla’s picture

Were you able to integrate Drupal Commons and OpenPublish together?

lelizondo’s picture

Category: support » bug

I've been having the same problem reported by @niccolo in #4 and #5

I solved the problem by removing the line:

150: drupal_access_denied();

in openid_provider_sso.module

I really don't know what consequences this have or if this breaks something else.

lelizondo’s picture

StatusFileSize
new551 bytes

Here's a patch for the previous comment.

lelizondo’s picture

Status: Active » Needs review
niccolox’s picture

actually, not sure if that fixes anything

still get an access denied warning on OA

and on DC a nasty error which i think is related to http://drupal.org/node/140311

Fatal error: Call to undefined function osso_relying_user_menu_title() in /var/aegir/platforms/commons/commons/docroot/includes/menu.inc on line 504 Call Stack: 0.0129 340420 1. {main}() /var/aegir/platforms/commons/commons/docroot/index.php:0 0.0212 571380 2. drupal_bootstrap() /var/aegir/platforms/commons/commons/docroot/index.php:16 0.0657 2390240 3. _drupal_bootstrap() /var/aegir/platforms/commons/commons/docroot/includes/bootstrap.inc:1110 0.0746 3105100 4. _drupal_bootstrap_full() /var/aegir/platforms/commons/commons/docroot/includes/bootstrap.inc:1203 0.3895 26856336 5. module_invoke_all() /var/aegir/platforms/commons/commons/docroot/includes/common.inc:2677 0.4144 28233072 6. call_user_func_array() /var/aegir/platforms/commons/commons/docroot/includes/module.inc:483 0.4144 28233264 7. og_init() /var/aegir/platforms/commons/commons/docroot/includes/module.inc:0 0.4144 28234280 8. og_determine_context() /var/aegir/platforms/commons/commons/docroot/profiles/drupal_commons/modules/contrib/og/og.module:474 0.4144 28234280 9. menu_get_item() /var/aegir/platforms/commons/commons/docroot/profiles/drupal_commons/modules/contrib/og/og.module:566 0.4148 28238480 10. _menu_translate() /var/aegir/platforms/commons/commons/docroot/includes/menu.inc:316 0.4149 28239648 11. _menu_item_localize() /var/aegir/platforms/commons/commons/docroot/includes/menu.inc:585 

works fine on a stock D6 relying

havent tried other combos like OpenPublish

lelizondo’s picture

I couldn't find that function, where is it being called? is it in hook_menu?

niccolox’s picture

thats the problem, the function doesn't exist.

I think it needs to exist http://drupal.org/node/140311

haven't looked into it to far

niccolox’s picture

Category: bug » support

I have created a discussion item on g.d.o

OpenID: OmniAuth OpenID Single Signon - OpenID - Single Signon Lives (Sorta)
http://groups.drupal.org/node/154879

xamanu’s picture

You usually get an Access Denied error when the Relying Parties and Provider are not correctly specified. Please review your configuration on both, Provider and Relying Parties. Please check that you have a trailing slash on the links.

xamanu’s picture

Status: Needs review » Closed (cannot reproduce)

Because of inactivity I assume that this can be closed. Right? Please re-open if not.