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 7973763
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T08:11:52+00:00 2026-06-04T08:11:52+00:00

I have a website already running made with CakePHP, which has its own login

  • 0

I have a website already running made with CakePHP, which has its own login system using the Auth component.

Now I’m going to create another website using moodle, hosted in the same server. Is there any way to share the user session between those 2 websites?

For example, if a user logs into the moodle website and clicks a link to a page of the other website, he is not asked to log in again, since the system recognises that he is already logged in.

I guess that one thing to do would be to tell moodle (somehow) to use same table of users in the database that the CakePHP website is already using. And then tell the CakePHP website to accept the sessions created in that other website. Something like this right?

But I don’t know how to do those things or if they even possible, any advice on how to approach this would be very helpful.

  • 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-04T08:11:53+00:00Added an answer on June 4, 2026 at 8:11 am

    Single sign-on (SSO) is not currently a trivial thing to do in Moodle.

    Some other approaches you may consider are:

    • Use external authentication in Moodle and configure it to use Cake’s database. Does not provide SSO but tells Moodle to use Cake’s user accounts.

    • Configure both Moodle and Cake to use a common authentication system like LDAP, POP3 or CAS. Depending of your choice it is possible that you may achieve SSO.

    More information about Moodle authentication plug-ins in this page:

    http://docs.moodle.org/dev/Authentication_plugins

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

Sidebar

Related Questions

The service has been debugged and is running in its own website. We already
I was already running a sub-website under following path http://example.com/sub-site/ Now, I have created
I have website where users can login with their Facebook account. I am using
I have an e-commerce website that is already up and running for some time.
I trying to change a website that is already up and running. I have
I have a website running on CentOS using the usual suspects (Apache, MySQL, and
I have website on the server, which is not precompiled (with source code, so
i have website of application which sells applications online.on the home page i want
So basically I have website that has names of cities that can be checked
I'm using jQuery. I have website feature that does an ajax search and returns

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.