MilitanteDoPT
  • Posts: 8
  • Joined: 23/07/2018
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?
tha_watcha
  • Posts: 4044
  • Joined: 06/03/2010
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
MilitanteDoPT
  • Posts: 8
  • Joined: 23/07/2018
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?
tha_watcha
  • Posts: 4044
  • Joined: 06/03/2010
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
MilitanteDoPT
  • Posts: 8
  • Joined: 23/07/2018
Thank you very much for replying to my question! I've done what you said me and it worked the way I expected.
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