Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...DDRMenu - add custom token to URL (for SSO to other sites)DDRMenu - add custom token to URL (for SSO to other sites)
Previous
 
Next
New Post
11/18/2011 6:28 PM
 

I'm wondering if DDRMenu will allow me to do this or will I need to code a custom menu module?

After I log my users into DNN, there will be a Single Sign On token placed in their profile. This will be a large guid-type value that will give them admission to other sites in our realm. 

Use Case:  I would like some (not all) of the URLs in the menu to have [SSO] added on the end when the navigation is created and then have DDRMenu replace that with the Profile's SSO token value.   So if the user clicks on certain links in the menu they will be taken to another website (new window preferably) with that URL and auto logged in.

So when I am editing the navigation I would enter:  http://www.myothersite.com?sso=[SSO]

which should render to:   http://www.myothersite.com?sso=z9vGTs...

 
New Post
11/19/2011 5:33 AM
 

mm I dont know about that for sure if you look at the xml output for profile properties you can see that there are a bunch of proerties avaiable in hte menu ( which you could use )

http://www.dnngarden.com/XML-format.T...

 

I am not sure about custom profile properties though, but maybe you could put your sso somehere in one fo thee properties, would save you the hassle of writing a new module yourself

 
New Post
11/19/2011 5:53 AM
 
At the moment you cannot get custom profile properties with the xsl tempaltes you could if you did razor templates though
 
New Post
11/21/2011 12:59 PM
 

I think I may have found another alternative --the NodeManipulator hook.  You can add a custom assembly that implements this iNodeManipulator interface and it will pass out the entire list of nodes, which you can "manipulate" and then pass back.  

I will probably try the Razor method first to avoid writing custom code.   But this NodeManipulator might come in handy later for something and it's good to know it's there!

 

 
New Post
11/21/2011 5:35 PM
 

yeah there is also the nodemanipulator but I never realy tried that myself ( never had a project that needed it )

but do post an example of how you did it, dont think there is a nice simple example yet

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...DDRMenu - add custom token to URL (for SSO to other sites)DDRMenu - add custom token to URL (for SSO to other sites)


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out