Welcome Guest! To enable all features please Login or Register.
Options
View
Go to last post Go to first unread
Offline MilitanteDoPT  
#1 Posted : 07 August 2018 06:20:38(UTC)
MilitanteDoPT


Rank: YAF Forumling

Reputation:

Joined: 23/07/2018(UTC)
Posts: 8
Brazil
Location: São Vicente - SP

Hello, good evening, I'm developing my project and now I'm thinking about implementing a single sign-on in it. Is there a native way of doing that in YAF? If not, is there anything I should know before adding that to my site and its forum?
Sponsor
Offline tha_watcha  
#2 Posted : 07 August 2018 19:48:24(UTC)
tha_watcha


Rank: YAF.NET Project Lead

Reputation:

Medals: Medal of Honor: Portal Puzzle Master: Portal Puzzle Master for DNNMedal of Honor Key: Given to pillars of the community who are key players in the YAF community and project.DNN Master: DNN Module ManBug Killer Medal of Honor: Medal for being a kick-ass bug killer!Medal of Honor for the Support King: Support King! Amazing asset to the YAF.NET Community.

Joined: 06/03/2010(UTC)
Posts: 3,922
Germany

Thanks: 73 times
Was thanked: 1190 time(s) in 1020 post(s)
Yes of course you can do that, it depends if you already have an existing database with a user base or if you start from scratch.

Did you see the sample application with yaf, that you find under downloads?
Offline MilitanteDoPT  
#3 Posted : 08 August 2018 16:10:38(UTC)
MilitanteDoPT


Rank: YAF Forumling

Reputation:

Joined: 23/07/2018(UTC)
Posts: 8
Brazil
Location: São Vicente - SP

I already have an existing database with a user base. I've downloaded the sample application, but I have not found details about how would I integrate the forum to my site. Would I just insert into both my user table and YAF's user table? Are there any specific cookies (Or similar) I should take into account when developing this integration?
Offline tha_watcha  
#4 Posted : 12 August 2018 02:43:30(UTC)
tha_watcha


Rank: YAF.NET Project Lead

Reputation:

Medals: Medal of Honor: Portal Puzzle Master: Portal Puzzle Master for DNNMedal of Honor Key: Given to pillars of the community who are key players in the YAF community and project.DNN Master: DNN Module ManBug Killer Medal of Honor: Medal for being a kick-ass bug killer!Medal of Honor for the Support King: Support King! Amazing asset to the YAF.NET Community.

Joined: 06/03/2010(UTC)
Posts: 3,922
Germany

Thanks: 73 times
Was thanked: 1190 time(s) in 1020 post(s)
Originally Posted by: MilitanteDoPT Go to Quoted Post
I already have an existing database with a user base. I've downloaded the sample application, but I have not found details about how would I integrate the forum to my site. Would I just insert into both my user table and YAF's user table? Are there any specific cookies (Or similar) I should take into account when developing this integration?


In that case it depends what system you are using as user base and login system. YAF uses the standard ASP.NET Membership. If you use same then it would be simple to import the users in to YAF.

Otherwise you would need to import them manually. For example during login check if the user exist in yaf. (if yes - log them in to the forum, if not -then create the user and log them in).

Offline MilitanteDoPT  
#5 Posted : 23 August 2018 02:38:16(UTC)
MilitanteDoPT


Rank: YAF Forumling

Reputation:

Joined: 23/07/2018(UTC)
Posts: 8
Brazil
Location: São Vicente - SP

Thank you very much for replying to my question! I've done what you said me and it worked the way I expected.
Rss Feed  Atom Feed
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Notification

Icon
Error