Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moodle Tabs AUthentification #1808

Open
B0ulbi opened this issue Sep 5, 2021 · 2 comments
Open

Moodle Tabs AUthentification #1808

B0ulbi opened this issue Sep 5, 2021 · 2 comments
Assignees
Labels
Feature - Teams SSO Issue type - help wanted General questions on how to use the plugins, e.g. configurations etc. Plugin - local_o365

Comments

@B0ulbi
Copy link

B0ulbi commented Sep 5, 2021

Hello,
We are using O365 full integration. Adding moodle course tab is working but our authentificaton system is based on Shibboleth.
When we try to access to Moodle Tab in navigator or Teams Descktop application we have :
1- we need to clic 2 times. Do you have an explication for this behavior?
2- We guet this interface
image
I want to ask if theire is a way that we

  • guet a shibboleth token for SSO / or the valid moodle session token
  • or at least redirect the user to the course url when he clic on the tab moodle. After the user can manage his authentification by him self.
    Thanks
@weilai-irl
Copy link
Collaborator

Hi @B0ulbi,

The Teams integration in Moodle tabs is designed to find the valid ID token from the Teams web app or desktop/mobile app, and try to match it with an existing ID token stored in the mdl_auth_oidc_token table, achieving SSO. It's not designed to work with shibboleth tokens.

I'm afraid you will need to patch the plugins yourself if you want to redirect users directly to the course view pages.

Regards,
Lai

@weilai-irl weilai-irl added Feature - Teams SSO Issue type - help wanted General questions on how to use the plugins, e.g. configurations etc. Plugin - local_o365 labels Sep 7, 2021
@weilai-irl
Copy link
Collaborator

I think I missed your first question.

Normally when the Moodle tab is accessed first, it may take a bit longer time to load, as it's accessing a page on your Moodle site, and there are JS code running on the page trying to log users in. In our experience, this may take no more than 2 seconds than loading other tabs, and we never needed to click the tab twice to load.

I'd suggest you turn on developer mode in Teams (either web app or desktop app) and use the network tools to locate where the delay happens.

Regards,
Lai

@weilai-irl weilai-irl self-assigned this Sep 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature - Teams SSO Issue type - help wanted General questions on how to use the plugins, e.g. configurations etc. Plugin - local_o365
Projects
None yet
Development

No branches or pull requests

2 participants