OpenID AX/SREG/provider work

Events happening in the community are now at Drupal community events on www.drupal.org.
You are viewing a wiki page. You are welcome to join the group and then edit it. Be bold!

This is a working document as a follow up to RFC: OpenID roadmap. It summarizes the current tasks being worked on for accomplishing steps 1 and 2 outlined in the roadmap.

Step 1

OpenID Provider modules

OpenID Content Profile Field (relevant for both provider and client)

OpenID client modules

Profile updates

-> All issues for OpenID client modules (does not include OpenID module)

Step 2

OpenID module (core)

#319840: Add hook to the OpenID module for returning data

OpenID hooks after Step 1

This section describes the purpose of hooks in the OpenID stack after Step 1 of road map is implemented.

hook_openid_client($op, $response, $account)

Invoked by: openid_client_ax.module and openid_client_sreg.module
Implemented by: openid_cp_field
Purpose:
$op = 'get': retrieve mapping information from implementers.
$op = 'save': pass OpenID fields from OpenID provider to implementers.

hook_openid_provider_map($op, $type, $fields, $request)

Invoked by openid_provider_sreg.module, openid_provider_ax.module
Implemented by: openid_cp_field
Purpose:
$op = 'load': Retrieve $type = 'sreg' or $type = 'ax' fields requested by OpenID client from implementers.

hook_openid_provider($op, $response, $request)

Invoked by openid_provider.inc
Implemented by: openid_provider_ax, openid_provider_sreg
Purpose:
$op = 'response': let other modules parse the request and extend the response
$op = 'signed': let other modules add signed fields to the response

hook_openid_cp_field_mapping()

Invoked by: openid_cp_field.module
Implemented by: n/a
Purpose: returns the imported mappings. The user is able to export mappings a'la views.

Overview of how the hooks work in action


Only local images are allowed.
Important: OpenID Client AX can be replaced to OpenID Client SReg, they both try to spoof the openid/authenticate menu entry and it does work flawless. They can also live side-by-side.
Also on provider side, OpenID Provider SReg can be a drop-in replacement for OpenID Provider AX, or they can sit together also, so both SReg and AX fields are handled.
If you only use OpenID Client AX, OpenID Provider Persona can be a replacement of OpenID CP Field.

OpenID

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: