Setup Support Requested
| Project: | Windows Live ID Integration |
| Version: | 6.x-1.x-dev |
| Component: | User interface |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | postponed (maintainer needs more info) |
| Issue tags: | Newbie |
Jump to:
I have tried and tried and tried for more than three hours to figure out how to get this module working.
The problem is that I don't quite understand what I need to edit or change. Every time I try to authenticate into my Drupal site using Windows Live ID Integration it simply takes me to here: localhost/webauth/sample/webauth-handler.php
I realize this is the default root path in webauth-handler.php.
First I tried adding the following to my .htaccess:
RewriteEngine on
RewriteRule ^.*webauth-handler.php(.*)$ /path_to_drupal_base/?q=winliveid/handler&$1 [L,QSA]
What do I need to change "path_to_your_document_root/webauth/sample to? I get an error when I just leave it as default.
My shared web hosting is just..... / (root) public_html / Drupal installation. It's very simple. But I can't understand what my "path_to_your_document_root" is.
I have also tried editing
* EDIT to your drupal url path. Defaults to root
**/
$drupal_path = "/";
to $drupal_path = "/public_html/";
But this doesn't help at all.
I'm going crazy here. I would love to get this configured properly. Can somebody please point me in the right direction?
| Attachment | Size |
|---|---|
| WinAuthDrupal.png | 94.76 KB |

#1
Changed title to reflect question
#2
Just to clarify the server path to my Drupal installation is...
/public_html/(Drupal installation)
I do not have a /webauth directory. I tried creating one along with /sample and adding the webauth-handler.php file, but that also doesn't work. I know that I'm doing it incorrectly. But I just don't understand what I'm not doing right. I've read your README.txt a hundred times, but I just can't figure it out. I guess I'm a real newbie. :(
#3
Titles should be descriptive so they can gather what needs to be done in a glance.
doesn't describe your problem.
I can't answer your specific question because I've not put myself in a position to work with Drupal 6 beyond testing for bugs in core. Drupal 6 isn't production ready yet so I've not begun testing modules on it.
#4
I tried setting up the Windows Live ID module under 5.x, and I have the same problem. So it mainly pertains to my failure to understand the configuration settings.
Thank you for fixing the title...
I got an e-mail from the creator / maintainer of the module saying that he'd try to respond to my support request for this issue later today. :)
#5
I am assuming (on V6)
- you have clean URL's enabled and also are able to rewrite URLs
- you have not registered for a windows live application key
1. in your .htaccess file under public_html/ locate the other url rewrites the drupal puts in..
Before the existing rewrites put in the following:
RewriteRule ^.*webauth-handler.php(.*)$ /index.php?q=winliveid/handler&$1 [L,QSA]So any request for webauth-handler.php will redirect to /index.php?q.....
2. Now test if this rewrite is working:
go to http://www.yourhost/webauth/sample/webauth-handler.php
3. If you get a Page Not found error then you need to figure out why your rewrite is not working - cannot help you much there - that is Apache configuration issue.
4. If on the other hand you see the message "Unable to authenticate you with windows Live ID." you should be all set.
If you cannot get URL rewriting to work...
1. create a folder called webauth/sample under your public_html folder.
2. copy the webauth-handler.php file under the sample folder.
3. now check and see if the webauth-handler.php file is getting called: http://yourhost/webauth/sample/webauth-handler.php
4. If this gives you a page not found error - figure out why - again this will be an Apache/hosting issue.
5. But if this displayes the message "unable to authenticate ..." then you are all set.
#6
#7
have you downloaded the SDK from microsoft?
http://www.microsoft.com/downloads/details.aspx?FamilyId=24195B4E-6335-4...
#8
The problem is not at all with the htaccess or rewrite module.
I think he hasnt registered his application with the live ID and edited the xml file
and i ma really getting frustrated with registering my appp at Application Centre...it always says
"The Domain name should match the domain name specified in Return URL. "
Ma i typed exact domain name did copy and paste.. deleted the return URl.
still the error persists..
cant get it to work... microsoft's another buggy software.