Welcome to the Axosoft Community, Sign in | Register | Help
in Search

Getting external authentication working with existing (php) websites

Last post 10-12-2007, 2:23 PM by Jonas. 1 replies.
Sort Posts: Previous Next
  •  10-11-2007, 10:09 PM 13386

    Getting external authentication working with existing (php) websites

    We currently have a website and a forum (mainly in php). The forum is using phpBB. I've been looking to see how easy it would be to get OnTime Portal authenticating using the login for the phpBB forum. I'm interested in knowing how feasible this would be (e.g. fairly easy, some difficulty, almost impossible ...).

    The easy bit is providing the URLs for login/logout etc, but their might be issues with the redirection.

    It seems that I might need to modify the phpBB login mechanism quite a bit.

    Some other hurdles seem to be : your example is in ASP.NET or C# and seems to be using classes you have made to work with the portal. Also the login for the forum uses the email address whereas our login uses a user name.

    Any tips?? Or should I give up? Or is there a system that is useful for putting different sites together?
     


  •  10-12-2007, 2:23 PM 13393 in reply to 13386

    Re: Getting external authentication working with existing (php) websites

    Hello,

    The way the Customer Portal external authentication works (assuming you're not using the integrated mode), is by posting the credentials that the user enters on the login control in Customer Portal to a page specified in the Customer Portal Settings in OnTime. It is the responsibility of that page to validate the credentials, set a cookie that Customer Portal will be able to use to identify the logged-in user, and redirect the user to a page that is specified in the Url (in a querystring value). Customer Portal ships with a .Net assembly to do encryption on the cookie values, so currently there is a requirement that you be using a .Net language to set the cookie.

    Let us know if you have any other questions.

    Thanks!

    Jonas Bush 


    Axosoft Development Team
    Blog
    Filed under:
View as RSS news feed in XML

© 2002 - 2007, Axosoft, LLC. All Rights Reserved. | Privacy
Bug Tracking | Defect Tracking Videos | Help Desk Software