Forum

HomeHomeCoreCoreGeneralGeneralLogin user without passwordLogin user without password
Previous
 
Next
New Post
8/24/2022 2:48 AM
 

Hi All,


I know its been quiet on this board for a while but I thought I would ask this question anyway


A client of mine wants me to implement single sign on with their own internal system. Ignoring for now how we are going to implement that between their system and the website, I need to know how, using OWS, a user can be logged in without a password


Is there a simple setting to just mark a user as 'logged in'


It obviously can be done via DNN as there are plenty of SSO plugins for Facebook, Google, SAML, etc


Any help is greatly appreciated


Tony





New Post
8/24/2022 7:14 AM
 

Found the answer in the Wiki in the Action Assignment section


1. Find the user id
Select UserID from Users where Username='someusername'


2. Assign the UseriD to the UserInfo object

Assignment <UserInfo>. to [UserID,USER]


3. Assign AUTHENTICATE to the UserInfo object

Assignment <UserInfo>. to AUTHENTICATE, LoginResult


The action variable LoginResult will now contain the result.

Works like a dream.


This opens up SSO using many options including Social Apps and even automatic login via urls with self generated tokens


Cool


Gotta love OWS


Tony


Previous
 
Next
HomeHomeCoreCoreGeneralGeneralLogin user without passwordLogin user without password


 

New York, NY • Baltimore, MD • Vienna, VA • St. Louis, MO • Seattle, WA • info@openwebstudio.com

Bookmark & Share Bookmark and Share