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

Single sign-on #16

Open
marcobruining opened this issue Jan 13, 2022 · 3 comments
Open

Single sign-on #16

marcobruining opened this issue Jan 13, 2022 · 3 comments
Labels

Comments

@marcobruining
Copy link
Collaborator

marcobruining commented Jan 13, 2022

Create single sign-on on the ElimuPi so that users are automatically known and profiled in all systems.

Decide how to handle the following actions

  • user management
  • role management
  • password reset
@DEANpeterV
Copy link
Collaborator

SSO based on LDAP seems to provide the widest support as this can be used for OS and WEB. Note that user admin needs to be managed from the ElimuPi Web Admin GUI. It is important that If we use the SSO for multiple systems a local alternative on each system also needs to function as a backup/backdoor.

@pieterD7
Copy link
Collaborator

SSO works now with LDAP and Moodle (branch openldap).

@jer0enA jer0enA moved this to Todo in DEAN Elimu Feb 13, 2022
@Tr4nnel
Copy link
Collaborator

Tr4nnel commented Feb 17, 2022

Our group has shortly looked at this. We discussed the requirements with Peter and wanted to look at using a lightweight Identity Provider in conjunction with an OIDC plugin for Kolibri. Below, we'll discuss our conclusions:

Ory OAuth2 Identity provider
Ory is lightweight and we think it could be installed on a Raspberry Pi. It is maintained well and we think it could work standalone in a local network.

Kolibri oidc plugin
For this to work, it was essential that the available Kolibri oidc plugin would work: https://github.com/learningequality/kolibri-oidc-client-plugin. It didn't.

On two separate systems, we got the following error while trying to enable the plugin:

Kolibri plugin apply kolibri_oidc_client_plugin INFO: No C extensions are available for this platform INFO Enabling plugin 'kolibri_oidc_client_plugin' ERROR Plugin 'kolibri_oidc_client_plugin' exists but does not have an importable kolibri_plugin module Error: An error occurred applying the plugin configuration

We're not sure yet if this oidc plugin is usable in any form, but we think it would be viable to investigate the further.

Moodle
We haven't investigated Moodle yet, but it looks like there is a Moodle OIDC plugin that provides single-sign-on functionality using configurable identity providers.

@jer0enA jer0enA removed the HACKATHON label Jun 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants