MilitanteDoPT
2018-08-07T04:20:38Z
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
tha_watcha
2018-08-07T17:48:24Z
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
2018-08-08T14:10:38Z
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
2018-08-12T00:43:30Z
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
2018-08-23T00:38:16Z
Thank you very much for replying to my question! I've done what you said me and it worked the way I expected.

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