Could not create multiple Provider Configuration (OAuth) with the same backend

Hello, everyone. I created multiple sites within the local Open edX following this instruction. I also added Google as IdP. However, the Google option only appears on one site. According to Open edX documentation, each IdP could only belong to one site at a time. Then, I try to add a new Provider Configuration (OAuth) with the same backend name ( google-oauth2) for each of the sites. However, the new configuration would override the previous if both have the same backend name.

  • Expectation: All sites have Google as an option to login/signup.
  • Reality: Google option only appears on one site.

Please tell me what I should do. Thanks in advance.

1 Like

Have you registered the instance with Google using both the domains? Are they both enabled? If so, you can try to add the respective client id and secrets in the provider config forms instead of adding it in lms.auth.json. That way it won’t get overridden.

Hi there! Open edX Vanilla only allows one config provider per backend. In our version (eduNEXT) we made some changes to allow multitenancy -check here-, you can make them too!

I’ll open a PR soon