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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...external authentication to DNNexternal authentication to DNN
Previous
 
Next
New Post
3/5/2008 5:30 PM
 

Hi,

I am pretty new to DNN but so far I love it.

Our company has a .NET c# web app that has its own authentication, which works really well.  What I need is to take the authenticated users from this external web app and allow them into DNN without a second login from DNN.  User authorization can be done in DNN after authentication is imported/received from the external source.

The external web app does the typical thing with its authentication such as creating session variables, tickets, etc.  How do I export/import these into DNN?

Any suggestions?

Thanks

 
New Post
3/6/2008 9:45 AM
 

Here is some more information.  Maybe someone can help me on this?

The external sign-in mechanism is company wide.  Everyone uses it and it works great.  It functions like a web service, basically, user enters ID and password, after authentication, a string is returned and any application can then grab that string and do whatever it wants from that point.  Of course, if the authentication fails, the string will contain some error message.  All communication is done through https and part of what is returned is the authenticated user ID.  Password is never returned. 

What I need to for DNN to 1. receive the authenticated string, 2. parse it, 3. get the user ID, and 4.use that ID to log into DNN.  I can easily do 1 thru 3 by writing my own page in DNN but I have no idea how to do 4.

What I am willing to do is to create matching IDs in DNN and assign these IDs to groups in DNN for autherization.  But how do I trick DNN into allowing these IDs in?

I appreciate any suggestions,

Thanks,

 
New Post
3/6/2008 9:22 PM
 

What to do in step  4?  You first create the account in DNN and then login the user.  To create DNN account,  at a mininum, you need Last Name, First Name, Display Name, Email, UserName and password.  After the account is created, you call up login routine to let the user login.

Search for UserController.CreateUser and UserController.UserLogin in the solution to accomplish your step 4.


Robert Tango
www.workcontrol.com
Custom Modules: UserManager|UserDirectory|UserImport|PortalSSO
 
New Post
3/10/2008 5:21 PM
 

Thanks a lot for your reply. 

Exactly what I was looking for. 

Based on what you told me, I was able to automatically log in a user by using the userController class!

I think instead of recreating users in DNN to match up the external authentication source, I will just automatically create the authenticated users in DNN when and if they try to log in to DNN.  Then leave the role assignment job to whoever is maintaining DNN. 

Thanks again for your insight!

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...external authentication to DNNexternal authentication to DNN


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