#1
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?
Topic Starter
  • MilitanteDoPT
  • Rank: YAF Forumling
  • Reputation:
    Neutral
    54.8%
  • Joined: 23/07/2018
  • Posts: 8
  •  Brazil
  • Location: São Vicente - SP
#2
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?
UserPostedImage
  • tha_watcha
  • Rank: YAF.NET Project Lead
  • Reputation:
    Exalted
    100%
  • 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
  • Posts: 4,003
  •  Germany
  • Thanks: 73 times
  • Was thanked: 1202 time(s) in 1028 post(s)
#3
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?
Topic Starter
  • MilitanteDoPT
  • Rank: YAF Forumling
  • Reputation:
    Neutral
    54.8%
  • Joined: 23/07/2018
  • Posts: 8
  •  Brazil
  • Location: São Vicente - SP
#4
Originally Posted by: MilitanteDoPT

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).


UserPostedImage
  • tha_watcha
  • Rank: YAF.NET Project Lead
  • Reputation:
    Exalted
    100%
  • 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
  • Posts: 4,003
  •  Germany
  • Thanks: 73 times
  • Was thanked: 1202 time(s) in 1028 post(s)
#5
Thank you very much for replying to my question! I've done what you said me and it worked the way I expected.
Topic Starter
  • MilitanteDoPT
  • Rank: YAF Forumling
  • Reputation:
    Neutral
    54.8%
  • Joined: 23/07/2018
  • Posts: 8
  •  Brazil
  • Location: São Vicente - SP
Users browsing this topic

Similar Topics
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.

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved