Index: openid_provider.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/openid_provider/openid_provider.module,v
retrieving revision 1.3
diff -u -p -b -r1.3 openid_provider.module
--- openid_provider.module	7 Sep 2008 03:51:58 -0000	1.3
+++ openid_provider.module	17 Oct 2008 18:59:01 -0000
@@ -49,6 +49,13 @@ function openid_provider_menu() {
     'file' => 'openid_provider.pages.inc'
   );
   
+  $items['openid/provider/user/%'] = array(
+    'title' => 'OpenID Login',
+    'description' => 'Menu callback with full access so no forbiddens are given from server requests',
+    'access callback' => TRUE,
+    'type' => MENU_CALLBACK,
+  );
+
   $items['user/%user/openid_sites'] = array(
     'title' => 'OpenID Sites',
     'page callback' => 'openid_provider_sites',
@@ -90,7 +97,7 @@ function openid_provider_user($op, &$edi
       if ($user->uid == $account->uid) {
         $account->content['openid'] = array(
           '#title' => t('OpenID'),
-          '#value' => t('You may login to other OpenID enabled sites using %url', array('%url' => url('user/' . $account->uid, array('absolute' => TRUE)))),
+          '#value' => t('You may login to other OpenID enabled sites using %url', array('%url' => url('openid/provider/user/' . $account->uid, array('absolute' => TRUE)))),
           '#class' => 'openid',
           '#weight' => 10
         );
@@ -131,7 +138,7 @@ function openid_provider_xrds($account =
     'URI' => array(url('openid/provider', array('absolute'=> TRUE))),
   );
   if ($account->uid) {
-    $data['LocalID'] = array(url('user/'. $account->uid, array('absolute' => TRUE)));
+    $data['LocalID'] = array(url('openid/provider/user/'. $account->uid, array('absolute' => TRUE)));
   }
   
   $xrds['openid_provider'] = array(
