-
Hey @OneEagle ;
I've done numerus studies in my early years and kept most documentation but it all boils down using the same methodologies, we even get API gateways etc. or you can even integrate on database levels depending on your requirements. In this case we looking at giving users the experience as if they are using one system ultimately and to avoid redundancy or the repetition of logging in and out or duplication of records... we use SSO.. and this is widely use across platforms. Anyway your answer...
Luckily, I used Druppel before, but their OpenSocial, joomla was to much for me etc. but a great product. It also feature EasySocial and have lots of extensions...
Step-by-Step Integration of Joomla Membership with UNACMS
1. Choose an SSO Method
You have a few options for setting up single sign-on (SSO) between Joomla and UNACMS:
- OAuth 2.0 / OpenID Connect → Use Joomla as an identity provider (IdP) and UNACMS as a client.
- JWT (JSON Web Token) Authentication → Generate and verify tokens between Joomla and UNACMS.
- SAML (Security Assertion Markup Language) → If enterprise-level integration is needed.
- Custom API-based authentication → Sync user sessions manually.
2. Install an OAuth Provider Plugin on Joomla
To allow UNACMS to authenticate users using Joomla’s credentials, you need an OAuth provider in Joomla.
Install an OAuth Server Plugin in Joomla
- Use an extension like:
- Miniorange OAuth Server
- JOAuth
- Configure Joomla as an OAuth provider.
3. Configure UNACMS to Use Joomla as an OAuth Provider
Now, UNACMS needs to recognize Joomla as an identity provider.
- In UNACMS, navigate to OAuth Authentication Settings.
- Enter the Joomla site’s OAuth endpoints:
- Authorization Endpoint:
https://yourjoomlasite.com/oauth/authorize
- Token Endpoint:
https://yourjoomlasite.com/oauth/token
- User Info Endpoint:
https://yourjoomlasite.com/oauth/userinfo
- Add the Client ID and Client Secret from Joomla.
4. Enable Automatic User Synchronization
To keep user data consistent between Joomla and UNACMS:
- Sync User Profiles:
- Configure UNACMS to fetch user roles and membership details from Joomla.
- Map Joomla user groups to UNACMS user roles.
- Use Joomla’s Webhooks or API:
- Trigger UNACMS updates when a user registers, updates their profile, or changes their membership level.
5. Implement Session Sharing
- Use Cookies or JWT Tokens:
- When a user logs into Joomla, generate a session token.
- Pass this token to UNACMS to automatically log in the user.
- Set Up Redirects:
- After login, redirect users to UNACMS with the token.
6. Test the Integration
- Log in to Joomla and check if UNACMS recognizes the session.
- Log out from one system and verify if the session ends in both.
Alternative: Using a Central Authentication System
If UNACMS supports LDAP, SAML, or an external authentication system, you can connect both Joomla and UNACMS to a third-party identity provider like: The answer is simple.. UNACMS is open-source, therefor should be able to.
- Keycloak
- Okta
- Auth0
This way, users authenticate through a single identity provider instead of logging into Joomla first.
Shout if you need help... and lets make this an open discussion so that the community can learn from it.
Regards
Chris
-
I take it you have the expertise or technical team to drive a project like this, but if you need more detail or want me to break it down in english, or the how to's, let me know.
-
@Chris Andre Buys Once again thank you so much for your valuable help. Once I find some time, I will give it a try.
-
@OneEagle you welcome and don't hesitate to contact me should you run into troubles doing it.