1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

bypassing XF auth using custom cookie?

Discussion in 'XenForo Development Discussions' started by Colosus, Feb 15, 2011.

  1. Colosus

    Colosus Member

    i'm looking to setup a XF install which respects my existing application's authentication.

    my goal is to have the user never, ever login to XF directly but instead login to my application and have XF use the session cookie i create to figure out who they are.

    are there any examples of this behavior i can use as a base? what files should i look to edit in XF in order to bypass the built-in auth and read my custom cookie for session info?

    thanks!
     
  2. Ajaxboy

    Ajaxboy Active Member

    Sounds like you are trying to do a bridge..

    hmm... I think instead of trying to get xenforo to use your app's cookie, should be the way around, try to get your app to work xenforo's cookie. But this is just to answer your question. There are different ways to share session, you could include the xf's initiation code and try to mimic user's login, or also using curl.. I haven't done any bridges for xenforo as of yet, but these are the general methods for bridges.
     

Share This Page