OAuth2 custom plugin

Hello,

I’m trying to implement a custom plugin to integrate my own OAuth2 provider to Edx.

In my patches directory, I have an lms-env file to change default THIRD_PARTY_AUTH_BACKENDS :

THIRD_PARTY_AUTH_BACKENDS: ["tutoroauth2.custom.DeizOAuth2"]

In my plugin, inside the tutoroauth2 module (same directory as plugin.py); I have a custom.py where I’ve declared the following class :

from social_core.backends.oauth import BaseOAuth2


class DeizOAuth2(BaseOAuth2):
....

After running tutor config save, quickstart returns the following error : No module named 'tutoroauth2'

How can import the plugin module properly ?