Recent Changes - Search:

Cookbook

PmWiki

pmwiki.org

AuthUserFederated

Summary: OpenID and OAuth authentication extension for AuthUser
Version: 2010-06-28
Prerequisites: pmwiki 2.2+, authuser
Status: Experimental
Maintainer: Ville Takanen
Users: +1 (View / Edit)
Categories: Security

Questions answered by this recipe

How can I add "login with google" or "Login with OpenID" options to my PMWiki?

Description

OpenID and OAuth authentication extension for AuthUser.

This recipe adds two new directives:

  • (:google_loginbox:) and
  • (:openid_loginbox:)

Former being a shorthand for using Google's open id service @ "https://www.google.com/accounts/o8/id".

Notes

Not compatible with AuthUserOpenId.

Uses Mewp's LightOpenID class (http://gitorious.org/lightopenid) for communication with OpenID providers.

Usage guide in README.txt/authuserfederated.php

Installation notes

Copy the folder authuserfederated from the release zip to local cookbook directory.

Add line

 include_once("$FarmD/cookbook/authuserfederated/authuserfederated.php"); // Must be included before authuser

To your local/farmconfig.php or local/config.php file just before line including authuser (include_once("$FarmD/scripts/authuser.php");).

Add following lines to your wiki's page Site.AuthUser

 google://module
 openid://module

And that should be it.

Release notes

If the recipe has multiple releases, then release notes can be placed here. Note that it's often easier for people to work with "release dates" instead of "version numbers".

See also

Contributors

Comments

This space is for User-contributed commentary and notes. Please include your name and a date (eg 2007-05-19) along with your comment. Optional alternative: create a new page with a name like "ThisRecipe-Talk" (e.g. PmCalendar-Talk).

See discussion at AuthUserFederated-Talk

User notes +1: If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki.

Edit - History - Print - Recent Changes - Search
Page last modified on September 10, 2011, at 11:42 AM