SAML2 Mapping

SAML2 Mapping

by Arnel Jr. Rubiano -
Number of replies: 2

Good day!


Someone please help us.

Is it possible to sync the password of external account and local account?

We don't need to activate dual login function, because it caused an confusion to our users.

Thanks in Advance.


Regards,

Arnel Rubiano

LMS Administrator

Average of ratings: -
In reply to Arnel Jr. Rubiano

Re: SAML2 Mapping

by Leon Stringer -
Picture of Core developers Picture of Particularly helpful Moodlers

There are two things that would need to be in place:

  1. The external account stores the encrypted password value in a format Moodle understands.
  2. A way to connect Moodle to the external account store.

It sounds like you already have a SAML2 identity provider (IdP) that can provide authentication but you don't want to use this?

If your IdP is storing users in a database maybe you could use Moodle's external database authentication to access the password value. You will see that Moodle can use external passwords in plain text (a bad idea) or some common encryption formats.

But if you have a SAML2 IdP it would be better to resolve the issues causing confusion as you otherwise have everything in place for integrated authentication.

Average of ratings: Useful (1)
In reply to Leon Stringer

Re: SAML2 Mapping

by Arnel Jr. Rubiano -

Hi Leon,

Thank you for this helpful reply.

Yes, We already have SAML2 but we have two kind of student:

1. Student that is in or organization.

2. and Student that is not.

We don't need to give an account for the external student in our internal system.

We just want them to access the moodle site.

We will work on your suggestion and I'll let you know for the result.


Best regards,

Arnel Rubiano