AndersonSFerreira
  • Posts: 2
  • Joined: 15/12/2014
Hi, we are migrating our current forum for yafnet.
Our portal already has a saved user base, for integration with the forum i have created stored procedures in the database for synchronization.
For the other applications on our Portal, we have a login form by transmitting an authentication token through POST type of calls, there is some form of integration with this type of authentication?

It will work like this: The User is already logged on to the portal and clicking on a link will be redirected to the Forum, through the token or some other mechanism will ensure that it automatically access the board.
Sponsor
AndersonSFerreira
  • Posts: 2
  • Joined: 15/12/2014
I have solved this issue using the following code:

var token = Request.QueryString["token"];

if (token != null)
{
Membership.ValidateUser("username", "password");
FormsAuthentication.RedirectFromLoginPage("username", false);
}

in the Page_Load method of the partial class login

but in this way I pass the token through a get request
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