OpenID

OpenID eliminates the need for multiple usernames and passwords for different websites and simplifying the online experience of the visitor. Visitors choose their own provider to securely store their identity, and from any other website they can use these credentials to log in. OpenID is an open standard, with security and visitor privacy as main focus areas. It does not collect or exchange any other personal information then strictly needed for remote identification.

This eXtension demonstrates how you can use OpenID alongside your SDL Tridion Outbound Email implementation. In the example, you can authenticate your visitors using their OpenIDs and allow them to change their profile information.

OpenID is an open source authentication mechanism that allows you to login to sites using credentials that you might have with other OpenID providers. This prevents the user from having to remember various different login credentials.


For more information on how OpenID works, go to http://openid.net/ (source of image).
Below you find the instructions how to enable OpenID on your website managed with SDL Tridion.

Prerequisites and Notes:

  1. Ensure Outbound Email and Content Delivery are installed (SDL Tridion 2009)
  2. Use Microsoft Visual Studio 2008 to edit the project.
  3. To test this example, create an OpenID at google, yahoo, myopenid, myid.net
  4. This project was created on a system that uses the IDENTIFICATION_KEY and IDENTIFICATION_SOURCE as the ContactIDFieldNames. No MandatoryExtendedDetails were configured. In the supplied code, the IDENTIFICATION_SOURCE is OpenID.       

Instructions:

  1. Setup the SDLTridionOpenID project in the accompanying attachment
    • Extract the project to disk
    • Open the project in Visual Studio 2008
    • If you use a proxy to access the internet, open the web.config file and uncomment the lines that follow: 
    • Replace the �yourproxyhere� text with the address and port of your proxy server.
    • Download the latest Google OpenID API fromhttp://code.google.com/p/dotnetopenid/
    • Add references in the project to the following Tridion and OpenID API assemblies:
      • Tridion.ContentDelivery.Configuration
      • Tridion.OutboundEmail.ContentDelivery
      • Tridion.OutboundEmail.ContentDelivery.JuggerNetProxies
      • netrtsn
      • DotNetOpenId       
    • Ensure the project compiles       
  2. Publish the project to a web directory � all project files will be needed.
  3. Browse to the SubscribeOEOID.aspx page in a web browser and enter a name and an existing OpenID url

  4. Save the contact

  5. Navigate to ChangeProfileOEOID.aspx. You will be redirected to LoginPage.aspx. Type in the registered OpenID url and select Login

  6. You are redirected to the OpenID provider. There are several providers, such as the following:


    MyID.net and MyOpenID




    Google




    Yahoo




    Hyves



  7. Fill in the password and sign in. You are redirected back to ChangeProfileOEOID.aspx.
           

How to take the next step:

  1. You can use any OpenID library that you prefer � download one fromhttp://wiki.openid.net/Libraries
  2. Modify the user interface to be more user-friendly if required. Make use of Ajax controls provided in the OpenID API if you wish.       

Developer
Company
License agreement
Download package
Tags
:    openid,  open source,  authentication
Version
:   1.0
Source
:   Yes

About the Author
Thosha Moodley
Technical Tester

Technical tester for SDL Tridion

SDL CMT division

Most Popular Building Blocks

These are the most popular Building Blocks. Did you already get them?