SlideShare a Scribd company logo
UKNuke RPX Authentication for DotNetNuke

This document describes the simple steps to enable RPX Authentication for your DotNetNuke
installation using the UKNuke.RPX extension.

The UKNuke RPX extension has been tested against DNN4.9, DNN5.0 and DNN5.1 running on .NET 2.0
and .NET 3.5.

This module is available from www.uknuke.com (a part of www.cirrious.com).

The functionality currently is:

    •   Existing users can login to your DNN portal using their external accounts.

    •   New users can register for your DNN portal using their external accounts.

There are many possible extensions to this base functionality – please keep checking with
www.uknuke.come for any updates.

To see this authentication system in live deployment, please come to www.uknuke.com
(www.cirrious.com), login using RPX, then please come and say hello on the forum there.

Instructions

The steps described below are:

    •   Set up DNN

    •   Set up your RPX application

    •   Install the UKNuke.RPX Authentication Provider

    •   Test it works!

From start to end a complete installation, including DNN setup and RPX registration can be completed
within 10 minutes.

Please pay careful attention to the “VERY IMPORTANT NOTE” on the following page.
! VERY IMPORTANT NOTE !
VERY IMPORTANT NOTE 1 - if you are installing on an existing DNN website, please backup your site
before you start, and please test the install on a copy of the site first. If you do not, then you may not be
able to recover your site if something goes wrong!.
Notes for DNN 4.9.x

The installation process for 5.x is described in detail below.

For DNN 4.9.x, the installation process is similar, except:

    •   The authentication system is installed within “Host Settings”, not as an extension - use “Host->
        Host Settings -> Advanced Settings -> Authentication Settings”, then choose “Install New
        Authentication System”

    •   The authentication system is configured using “Admin -> Authentication” – it is not shown
        within “Admin -> Extensions”



A – Set up DNN

    1. Set up your new DotNetNuke website…. See http://www.mitchelsellers.com/default.aspx for
       instructions.




B – Set up RPX

    2. Go to RPX – http://www.rpxnow.com


    3. Choose “Get RPX”, choose “SignUp” under Basic – RPX will the invite you to login using some
       external account – and will then ask you to confirm your email address


    4. In the “Create New Application” screen, enter a name for your application and the list of
       domains you wish to use this application on.
5. Enter a new application name, choose “Next”




6. Take a note of the “API Key” on this page. Note – you must keep the API key a secret – you’ll
   need to create a new key if your initial key is stolen or compromised.
7. If you’d like to customize this application further – e.g. to add extra authentication providers -
      then use “Configure Providers” on the right-hand side of this window.




C – Install the UKNuke.RPX Authentication Provider

   •   In your DNN 5 portal, login as “Host” and then choose “Host -> Extensions”

       NOTE – if you are in DNN 4.9.1, the authentication system is installed within “Host Settings”, not
       as an extension - use “Host-> Host Settings -> Advanced Settings -> Authentication Settings”,
       then choose “Install New Authentication System”.



   8. At the bottom of the page, choose “Install Extension Wizard”




   9. Step through the wizard, uploading the package UKNuke.RPX_Install.zip




   10. Note that you must accept the license terms on the license page.
11. At the end of the install you will hopefully see the “Package Installation Report” showing the
    success message.




12. Within DNN 5 go to the “Admin -> Extensions” tab, and choose the “Edit” pencil option next to
    “UK Nuke – RPX”.

    For DNN4.9.1, the authentication system is configured using “Admin -> Authentication”
13. In the edit settings, enable the RPX authentication, choose whether or not to include help, then
    enter your Application Name and Application Key (API Key) from the RPX website, then choose
    “Update Authentication Settings”.
D – Test it works!

    14. IMPORTANT – Do not logout of your Host account – if you logout and your login system is
        broken then you may never be able to login again!


    15. Use a new browser instance (e.g. IE instead of Firefox) or a separate machine to browse to your
        site.


    16. Choose “login” – you should now have a Partner Sites option:




    17. If you see an error message, then you can use the Host account to try to analyse the error in
        “Site -> Event Viewer” and use “Site -> Extensions” to disable the RPX auth module and contact
        www.uknuke.com for help.


    18. Your users can now login to your DNN portal using this external service


    19. When they “Connect”, they will come back to your application and the user will be asked to
        register on your site– or to link with an existing site account.
20. That’s it!


21. For further information or advice, please check http://www.uknuke.com
Extension – Integration with Dynamic Registration from Data Springs.

Cirrious, working with DataSprings, have produced an extension to the RPX authentication provider to
allow Dynamic Registration.

To enable this:

    1. Install the dynamic registration and RPX modules on your server

    2. In the RPX module, extensions setting for your module, check the check box for “Use Dynamic
       Registration”




    3. Setup your Dynamic Registration – and you may include the following questions which can be
       automatically filled in from RPX:

        Field Name                      Short Field Name

        First Name                      UKNuke_GivenName

        Last Name                       UKNuke_FamilyName

        Email Address                   UKNuke_BestEmail

        Username                        UKNuke_BestUserOrDisplayName

        Display Name                    UKNuke_BestDisplayOrUserName
e.g.




   When a new RPX user registers, then these fields will be filled in from the fields from the base
   authentication provider.



   However, please note that not all providers, will provide all the fields – e.g. Yahoo does not
   currently provide First Name or Last Name.



   Also include the following hidden fields:

   Field Name                        Short Field Name

   UKNuke ProviderName               UKNuke_ProviderName

   UKNuke LoginAuthType              UKNuke_LoginAuthType

   UKNuke Identifier                 UKNuke_Identifier



   For all of these questions and hidden fields, ensure you choose the “Retrieve values from
   session variable for this question” option.




4. Within Dynamic Registration, add a new SQL completion event for Initial registration only:

   For this use the SQL -
IF LEN('$(UKNuke_Identifier)') > 0 Exec AddUserAuthentication $
(UserID), '$(UKNuke_LoginAuthType)', '$(UKNuke_Identifier)'


Note: dependent on how you have installed DNN, you may need to add a prefix to
AddUserAuthentication – e.g. you may need to use dnn_AddUserAuthentication as shown
below:
Uk Nuke Rpx Authentication For Dot Net Nuke
5. That’s it – the two modules should now work together.


For troubleshooting, please contact Dynamic Springs and Cirrious!

More Related Content

PDF
MarvelSoft SchoolAdmin Offline LAN Access Setup Guide
PDF
MarvelSoft SchoolAdmin school software lan setup guide
PPTX
How to Install Magento 2.0
PDF
Salesforce and Skype
PPS
Lotus Notes Vpn Settings
PPT
Innovation conference 26.05.2011
PDF
Plone Conference 2008 Lightning Talk Static Zope Rpx
PDF
OpenID UX Summit - Lessons Learned from RPX
MarvelSoft SchoolAdmin Offline LAN Access Setup Guide
MarvelSoft SchoolAdmin school software lan setup guide
How to Install Magento 2.0
Salesforce and Skype
Lotus Notes Vpn Settings
Innovation conference 26.05.2011
Plone Conference 2008 Lightning Talk Static Zope Rpx
OpenID UX Summit - Lessons Learned from RPX

More from Stuart Lodge (18)

PPTX
Hot tuna - from Sean Cross
PDF
Helping the Lions Roar
PDF
MvvmCross Introduction
PDF
Wpug meeting - wp to win8 experiences
PDF
AlphaLabs - Node Garden with Speech
PDF
About Cirrious ltd
PDF
C# Client to Cloud
PPTX
How to make a pig udf
PDF
C# - Azure, WP7, MonoTouch and Mono for Android (MonoDroid)
PPTX
Mvvm cross – going portable
PPTX
Dev evening - MonoTouch, MonoDroid, Mvvm MvvmCross and databinding
PPTX
Wpug mvvm and data binding
PPTX
Ui testing for Windows Phone
PPTX
Ui Testing on Windows Phone
PPT
How To use Map Blogs
DOC
Uk Nuke Facebook Connect Authentication For Dot Net Nuke
DOC
UkNuke Facebook Connect Authentication For DotNetNuke 5
PPT
10 things I’ve learnt In the clouds
Hot tuna - from Sean Cross
Helping the Lions Roar
MvvmCross Introduction
Wpug meeting - wp to win8 experiences
AlphaLabs - Node Garden with Speech
About Cirrious ltd
C# Client to Cloud
How to make a pig udf
C# - Azure, WP7, MonoTouch and Mono for Android (MonoDroid)
Mvvm cross – going portable
Dev evening - MonoTouch, MonoDroid, Mvvm MvvmCross and databinding
Wpug mvvm and data binding
Ui testing for Windows Phone
Ui Testing on Windows Phone
How To use Map Blogs
Uk Nuke Facebook Connect Authentication For Dot Net Nuke
UkNuke Facebook Connect Authentication For DotNetNuke 5
10 things I’ve learnt In the clouds
Ad

Recently uploaded (20)

PPTX
MYSQL Presentation for SQL database connectivity
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Electronic commerce courselecture one. Pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
cuic standard and advanced reporting.pdf
PPT
Teaching material agriculture food technology
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
A Presentation on Artificial Intelligence
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Approach and Philosophy of On baking technology
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Encapsulation theory and applications.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
MYSQL Presentation for SQL database connectivity
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Electronic commerce courselecture one. Pdf
Network Security Unit 5.pdf for BCA BBA.
cuic standard and advanced reporting.pdf
Teaching material agriculture food technology
Chapter 3 Spatial Domain Image Processing.pdf
Digital-Transformation-Roadmap-for-Companies.pptx
The AUB Centre for AI in Media Proposal.docx
A Presentation on Artificial Intelligence
Building Integrated photovoltaic BIPV_UPV.pdf
Approach and Philosophy of On baking technology
“AI and Expert System Decision Support & Business Intelligence Systems”
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Mobile App Security Testing_ A Comprehensive Guide.pdf
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Encapsulation theory and applications.pdf
Encapsulation_ Review paper, used for researhc scholars
Ad

Uk Nuke Rpx Authentication For Dot Net Nuke

  • 1. UKNuke RPX Authentication for DotNetNuke This document describes the simple steps to enable RPX Authentication for your DotNetNuke installation using the UKNuke.RPX extension. The UKNuke RPX extension has been tested against DNN4.9, DNN5.0 and DNN5.1 running on .NET 2.0 and .NET 3.5. This module is available from www.uknuke.com (a part of www.cirrious.com). The functionality currently is: • Existing users can login to your DNN portal using their external accounts. • New users can register for your DNN portal using their external accounts. There are many possible extensions to this base functionality – please keep checking with www.uknuke.come for any updates. To see this authentication system in live deployment, please come to www.uknuke.com (www.cirrious.com), login using RPX, then please come and say hello on the forum there. Instructions The steps described below are: • Set up DNN • Set up your RPX application • Install the UKNuke.RPX Authentication Provider • Test it works! From start to end a complete installation, including DNN setup and RPX registration can be completed within 10 minutes. Please pay careful attention to the “VERY IMPORTANT NOTE” on the following page.
  • 2. ! VERY IMPORTANT NOTE ! VERY IMPORTANT NOTE 1 - if you are installing on an existing DNN website, please backup your site before you start, and please test the install on a copy of the site first. If you do not, then you may not be able to recover your site if something goes wrong!.
  • 3. Notes for DNN 4.9.x The installation process for 5.x is described in detail below. For DNN 4.9.x, the installation process is similar, except: • The authentication system is installed within “Host Settings”, not as an extension - use “Host-> Host Settings -> Advanced Settings -> Authentication Settings”, then choose “Install New Authentication System” • The authentication system is configured using “Admin -> Authentication” – it is not shown within “Admin -> Extensions” A – Set up DNN 1. Set up your new DotNetNuke website…. See http://www.mitchelsellers.com/default.aspx for instructions. B – Set up RPX 2. Go to RPX – http://www.rpxnow.com 3. Choose “Get RPX”, choose “SignUp” under Basic – RPX will the invite you to login using some external account – and will then ask you to confirm your email address 4. In the “Create New Application” screen, enter a name for your application and the list of domains you wish to use this application on.
  • 4. 5. Enter a new application name, choose “Next” 6. Take a note of the “API Key” on this page. Note – you must keep the API key a secret – you’ll need to create a new key if your initial key is stolen or compromised.
  • 5. 7. If you’d like to customize this application further – e.g. to add extra authentication providers - then use “Configure Providers” on the right-hand side of this window. C – Install the UKNuke.RPX Authentication Provider • In your DNN 5 portal, login as “Host” and then choose “Host -> Extensions” NOTE – if you are in DNN 4.9.1, the authentication system is installed within “Host Settings”, not as an extension - use “Host-> Host Settings -> Advanced Settings -> Authentication Settings”, then choose “Install New Authentication System”. 8. At the bottom of the page, choose “Install Extension Wizard” 9. Step through the wizard, uploading the package UKNuke.RPX_Install.zip 10. Note that you must accept the license terms on the license page.
  • 6. 11. At the end of the install you will hopefully see the “Package Installation Report” showing the success message. 12. Within DNN 5 go to the “Admin -> Extensions” tab, and choose the “Edit” pencil option next to “UK Nuke – RPX”. For DNN4.9.1, the authentication system is configured using “Admin -> Authentication”
  • 7. 13. In the edit settings, enable the RPX authentication, choose whether or not to include help, then enter your Application Name and Application Key (API Key) from the RPX website, then choose “Update Authentication Settings”.
  • 8. D – Test it works! 14. IMPORTANT – Do not logout of your Host account – if you logout and your login system is broken then you may never be able to login again! 15. Use a new browser instance (e.g. IE instead of Firefox) or a separate machine to browse to your site. 16. Choose “login” – you should now have a Partner Sites option: 17. If you see an error message, then you can use the Host account to try to analyse the error in “Site -> Event Viewer” and use “Site -> Extensions” to disable the RPX auth module and contact www.uknuke.com for help. 18. Your users can now login to your DNN portal using this external service 19. When they “Connect”, they will come back to your application and the user will be asked to register on your site– or to link with an existing site account.
  • 9. 20. That’s it! 21. For further information or advice, please check http://www.uknuke.com
  • 10. Extension – Integration with Dynamic Registration from Data Springs. Cirrious, working with DataSprings, have produced an extension to the RPX authentication provider to allow Dynamic Registration. To enable this: 1. Install the dynamic registration and RPX modules on your server 2. In the RPX module, extensions setting for your module, check the check box for “Use Dynamic Registration” 3. Setup your Dynamic Registration – and you may include the following questions which can be automatically filled in from RPX: Field Name Short Field Name First Name UKNuke_GivenName Last Name UKNuke_FamilyName Email Address UKNuke_BestEmail Username UKNuke_BestUserOrDisplayName Display Name UKNuke_BestDisplayOrUserName
  • 11. e.g. When a new RPX user registers, then these fields will be filled in from the fields from the base authentication provider. However, please note that not all providers, will provide all the fields – e.g. Yahoo does not currently provide First Name or Last Name. Also include the following hidden fields: Field Name Short Field Name UKNuke ProviderName UKNuke_ProviderName UKNuke LoginAuthType UKNuke_LoginAuthType UKNuke Identifier UKNuke_Identifier For all of these questions and hidden fields, ensure you choose the “Retrieve values from session variable for this question” option. 4. Within Dynamic Registration, add a new SQL completion event for Initial registration only: For this use the SQL -
  • 12. IF LEN('$(UKNuke_Identifier)') > 0 Exec AddUserAuthentication $ (UserID), '$(UKNuke_LoginAuthType)', '$(UKNuke_Identifier)' Note: dependent on how you have installed DNN, you may need to add a prefix to AddUserAuthentication – e.g. you may need to use dnn_AddUserAuthentication as shown below:
  • 14. 5. That’s it – the two modules should now work together. For troubleshooting, please contact Dynamic Springs and Cirrious!