Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9160907
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T13:50:53+00:00 2026-06-17T13:50:53+00:00

I have a phpbb forum and i am developing a rails application that will

  • 0

I have a phpbb forum and i am developing a rails application that will be used for a mobile friendly app. I need a way to perform SSO between phpbb and rails.

I found a ruby gem called phpbb-auth on github but it hasn’t been updated in over 3 years.

My initial thoughts were to mimic phpass (which i believe is what the latest phpbb uses) in rails and then just have rails reference the phpbb_users table when authenticating with Devise/Warden.

However, that task became daunting and would become just another lib to manage.

My next thought was to write a plugin for Warden to check for a phpbb_session and if its there, then continue. Otherwise redirect them to the phpbb login page.

Has anyone come across doing this before, and if so what was the method you used.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T13:50:54+00:00Added an answer on June 17, 2026 at 1:50 pm

    I doing same thing right now (already succeed actually).

    So, you basically have several options depending on your setup/deployment. Consider following:

    • Will you deploy your rails app and phpbb on same domain or different domains?
    • Have both sites access to each other db.
    • Which authentication system you whish to use? So, you’d like rails (i.e. devise, authlogic or whatever) authenticate and handle users or phpbb db auth (i.e. storing logins and password in phpbb users table).

    So far, I’ve implement auth through phpbb db auth + single domain with my app (phpbb: forum.example.com, my rails app is on: example.com for cookie sharing). In this case you can use code from gem you have mentioned (phpbb-auth). It’s not very hard. Code is still working fine (with some adjustments probably).

    BUT

    I do not like it this way 🙂 I consider my site as a main app and do not want forum to handle my users…

    So, as I understand starting from phpbb 3 you can write plugin (API docs) for external auth for phpbb.

    There are several examples in Python and Django in the net. Looks like this one for same domain + db access. And looks like this one for doing things remotely with JavaScript. Those are in Python, but there’s not too much Python inside, only some examples :), so you can easily adopt them for rails, I think.

    This question discuss same stuff, but in more generic way.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an asp.net mvc application, phpBB forum and asp.net webservice that I want
I have created a C# application that connects to a my phpBB forum and
I have a web application that requires Blog Forum Chat support etc Now my
I'm developing a web application which have a online forum with it. I'm going
I have a database with a lot of old phpBB data that contains posts
I have a database with a lot of old phpBB data that contains posts
I recently installed the phpBB app using the one click function (I have a
I have a forum using phpBB. Now i would like to do something like
I am building a forum from scratch in PHP. I have used the most
I have copied a function from phpBB so that I could make some slight

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.