Please verify that this bug has NOT been raised before.
Describe the bug*
The CustomSocialAccountAdapter extends the RegistratonMixin which overrides the is_open_for_signup method. In my opinion, the check performed in the function should not be the intended behavior for Social Accounts.
Steps to Reproduce
- Configure a social account for your inventree instance
- Make sure no email host is configured
- Try to sign in for the first time with a social account user and experience the "Sign in Closed" page.
Expected behaviour
In my opinion, it should not be required to configure an email host in order to enable SocialAccount self registration.
My personal use case:
I am currently running InvenTree on my local machine and played around with the OpenID config. It took me forever to figure out why my social login did not work. I finally solved it by specifying a dummy value INVENTREE_EMAIL_HOST = localhost.
Do you think it is possible to disable the email host check if a social account is used?
Deployment Method
Version Information
Master branch
Relevant log output
No response
Please verify that this bug has NOT been raised before.
Describe the bug*
The CustomSocialAccountAdapter extends the RegistratonMixin which overrides the
is_open_for_signupmethod. In my opinion, the check performed in the function should not be the intended behavior for Social Accounts.Steps to Reproduce
Expected behaviour
In my opinion, it should not be required to configure an email host in order to enable SocialAccount self registration.
My personal use case:
I am currently running InvenTree on my local machine and played around with the OpenID config. It took me forever to figure out why my social login did not work. I finally solved it by specifying a dummy value
INVENTREE_EMAIL_HOST = localhost.Do you think it is possible to disable the email host check if a social account is used?
Deployment Method
Version Information
Master branch
Relevant log output
No response