Thanks for posting this Lee. I have the same issue. I am using Magento as my external enrollment and a quasi single sign in using jFusion.
I am in a situation where I have to ask users to log out and back in to view their courses.
If anyone knows of a solution to this, please post.
Only way other than log in I am ware of is the sync script:
We have a cron job that runs it on an hourly basis, but there's nothing that prevents you from running it manually as needed. I wouldn't set it to run very frequently though, as the time it runs will scale with your number of users and courses (and the cpu speed of the machine running it and the network connection to your db and your db speed). Ours takes about a minute to run.
Thanks Mathew. We had that running every 5 minutes to solve our problem, but this causes a problem after the nightly backup where the jobs would be queued up on top of each other overwhelming our server. We switched it to every hour and it has been fine.
The other solution we have tinkered with is calling it from the order confirmation page in Magento, which if it executed quickly enough would solve our issue. However, our preference would be just to update the enrollments for the one user instead of running the full sync script.
Any suggestions? Wonder how difficult it would be to write a custom script that does this?