This D7 module provides user authentication via Windows Azure's federated authentication system. More information on implementation can be found here: http://msdn.microsoft.com/en-us/library/windowsazure/gg429786.aspx
To create a Windows Azure account for testing, you can create a 90 day free trial at https://www.windowsazure.com/en-us/pricing/free-trial/
Administrative options exist for altering the user login form and/or providing a dedicated block that allows users to register and log in to your Drupal site using using either Google or Windows Live ID, the two identity providers currently supported. Instructions are present in the README and on the project sandbox site: http://drupal.org/sandbox/r2integrated/1842766
The module also provides an API for defining your own identity providers.
Thanks for your time reviewing!
Patrick
git clone --branch 7.x-1.x http://git.drupal.org/sandbox/r2integrated/1842766.git azure_auth
Review Bonus
First bonus:
- http://drupal.org/node/1784544#comment-6741962
- http://drupal.org/node/1778036#comment-6742168
- http://drupal.org/node/1637566#comment-6755906
Second Bonus:
Comments
Comment #1
sirup commentedvery well written code!
I reviewed the code manually and can find only one small issue: Please add a "configure" line to your info file that links to your configuration form you registered within the menu hook.
Automatic review: http://ventral.org/pareview/httpgitdrupalorgsandboxr2integrated1842766git
- the naming error is a false positive
- the other potential problem within the azure_auth.pages.inc is not solvable using form api because it gets called from the outside, right?
Comment #2
r2integrated commentedThanks sirup! I have added the configure line now.
You are correct - the $_POST variable usage that PAReview complains about is by design - Windows Azure will forward users to that callback and the callback needs to examine the POSTed values to confirm authentication. The only data being stored in the database from the POSTed token is the nameidentifier claim which ends up in the authmap table, and the username and email address which are sanitized and validated by the user registration form validate callbacks anyway.
Comment #2.0
r2integrated commentedAdded review bonus
Comment #3
paravibe commentedHello,
Here is my manual review:
azure_auth.module: line 256, use db_select() instead of db_query().
Also please fix issues that automatic test found http://ventral.org/pareview/httpgitdrupalorgsandboxr2integrated1842766git
Other files are good written.
Comment #4
sirup commented@drupalrv As mentioned above most ventral issues are false positives, only the last one is correct.
@r2integrated Please use db_select() and fix the last formatting issue raised by the ventral.org mechanism.
Comment #5
r2integrated commented@sirup and @drupalrv
I have fixed the newline issue in azure_auth.info and have switched to db_select in azure_auth.module. Fixes are committed to 7.x-1.x. Thanks for the reviews!
Comment #5.0
r2integrated commentedAdding another review bonus.
Comment #6
r2integrated commentedApplying for PAReview bonus.
Comment #6.0
r2integrated commentedAdding review
Comment #7
klausimanual review:
require_once 'mymodule.inc';Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.
Comment #8
klausinow actually removing tag ;-)
Comment #9
r2integrated commentedThanks @klausi for your manual review! I have implemented your fixes.
Comment #9.0
r2integrated commentedBeginning second review bonus.
Comment #9.1
r2integrated commentedAdding review
Comment #9.2
r2integrated commentedAdding review
Comment #10
r2integrated commentedApplying for second PAReview bonus.
Comment #11
klausiReview of the 7.x-1.x branch:
This automated report was generated with PAReview.sh, your friendly project application review script. You can also use the online version to check your project. You have to get a review bonus to get a review from me.
manual review:
But otherwise looks RTBC to me. Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.
Comment #12
klausino objections for more than a week, so ...
Thanks for your contribution, r2integrated!
I updated your account to let you promote this to a full project and also create new projects as either a sandbox or a "full" project.
Here are some recommended readings to help with excellent maintainership:
You can find lots more contributors chatting on IRC in #drupal-contribute. So, come hang out and get involved!
Thanks, also, for your patience with the review process. Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.
Thanks to the dedicated reviewer(s) as well.
Comment #13.0
(not verified) commentedSecond bonus