How To / General
Login/logout through Moodle does not login/logout user from Joomla
- Web Buster UK Ltd
-
Topic Author
- Offline
- Premium Member
-
Less
More
1 week 4 days ago #1
by Web Buster UK Ltd
Login/logout through Moodle does not login/logout user from Joomla was created by Web Buster UK Ltd
Hi Antonio, we are trying out the Microsoft login in Moodle via OAuth2. Is it supposed to login Joomla as well if they login using OAuth2?
Btw we are unable to create a new post in the forums - Error page:
0
Path must not be empty
Btw we are unable to create a new post in the forums - Error page:
0
Path must not be empty
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7849
1 week 3 days ago #2
by Antonio Durán
Replied by Antonio Durán on topic Login/logout through Moodle does not login/logout user from Joomla
Thanks for the tip on the forum problem, I have fixed it now.
> Is it supposed to login Joomla as well if they login using OAuth2?
No, because that means you are using OAuth2 as the user auth method in Moodle, right? Only users with auth=joomdle are logged in to Joomla.
Can you use OAuth2 in Joomla? SSO from Joomla to Moodle should work, even with Oauth2 set in Joomla (keeping it set to Joomdle in Moodle).
If everything works, you should get the desired results: log in to Moodle will use Joomla's login, which will use OAuth2, and then SSO should work fine from Moodle to Joomla too.
> Is it supposed to login Joomla as well if they login using OAuth2?
No, because that means you are using OAuth2 as the user auth method in Moodle, right? Only users with auth=joomdle are logged in to Joomla.
Can you use OAuth2 in Joomla? SSO from Joomla to Moodle should work, even with Oauth2 set in Joomla (keeping it set to Joomdle in Moodle).
If everything works, you should get the desired results: log in to Moodle will use Joomla's login, which will use OAuth2, and then SSO should work fine from Moodle to Joomla too.
Please Log in or Create an account to join the conversation.
- Web Buster UK Ltd
-
Topic Author
- Offline
- Premium Member
-
3 days 15 hours ago #3
by Web Buster UK Ltd
Replied by Web Buster UK Ltd on topic Login/logout through Moodle does not login/logout user from Joomla
No the auth is still joomdle. But we can add another way to authenticate login, which is using OAuth2. Eg Users login using their Microsoft account, it looks for the same email as their moodle account and log them in. However it doesn't log them into Joomla.
There's a similar plugin (Akeeba SocialLogin) on Joomla, which does the same thing. But when logging into Joomla, it logs the user into moodle as well.
There's a similar plugin (Akeeba SocialLogin) on Joomla, which does the same thing. But when logging into Joomla, it logs the user into moodle as well.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7849
9 hours ago #4
by Antonio Durán
Replied by Antonio Durán on topic Login/logout through Moodle does not login/logout user from Joomla
> No the auth is still joomdle. But we can add another way to authenticate login, which is using OAuth2
I have never tried this. Let me know if you want me to take a look at how this works at your site to see if there's something I can do.
> There's a similar plugin (Akeeba SocialLogin) on Joomla, which does the same thing. But when logging into Joomla, it logs the user into moodle as well.
Yes, that is what I suggested. If you log in to Moodle, you should be logged in to Joomla too, right?
I have never tried this. Let me know if you want me to take a look at how this works at your site to see if there's something I can do.
> There's a similar plugin (Akeeba SocialLogin) on Joomla, which does the same thing. But when logging into Joomla, it logs the user into moodle as well.
Yes, that is what I suggested. If you log in to Moodle, you should be logged in to Joomla too, right?
Please Log in or Create an account to join the conversation.