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

SSO Keycloak session for Moodle LMS is not maintained #2636

Open
BraveEvidence opened this issue Sep 27, 2024 · 1 comment
Open

SSO Keycloak session for Moodle LMS is not maintained #2636

BraveEvidence opened this issue Sep 27, 2024 · 1 comment
Labels
Feature - SSO Issue type - help wanted General questions on how to use the plugins, e.g. configurations etc. Plugin - auth_oidc Status - need more info Further information requested to triage the issue.

Comments

@BraveEvidence
Copy link

I have a website in which I have integrated keycloak sign in, I have also integrated keycloak sign in for moodle using this plugin. Suppose I sign in my website using keycloak and then open moodle I had to sign in again, the keycloak session is not maintained. Suppose my website url is https://portal-uat.mycomapnyname.vn/ and my Moodle LMS is at http://lms.mycompanyname.vn, is it because they are located at different subdomains, do I need to fix it from AWS side where both my apps are deployed or is there something else wrong which I can fix it from the admin keycloak portal

@weilai-irl
Copy link
Collaborator

Hi @BraveEvidence

Please consider these two settings in Moodle:

Note the first setting is part of Moodle core, while the second one is part of the auth_oidc plugin. You may want to try out different combinations of these settings to achieve your desired user experience.

There is actually a third setting - Silent Login Mode (silentloginmode) also on the "Other options" page - which would try to perform silent login. Please read the setting description for details. Note this setting has only be tested against Microsoft Entra ID IdP, and not on Keycloak, so please use with care.

Regards,
Lai

@weilai-irl weilai-irl added Issue type - help wanted General questions on how to use the plugins, e.g. configurations etc. Status - need more info Further information requested to triage the issue. Plugin - auth_oidc Feature - SSO labels Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature - SSO Issue type - help wanted General questions on how to use the plugins, e.g. configurations etc. Plugin - auth_oidc Status - need more info Further information requested to triage the issue.
Projects
None yet
Development

No branches or pull requests

2 participants