This is for Odoo 17 Community Edition. OAuth has been configured and is working completely fine.
I would like to disable "Free Sign Up" capability but this also affects users who sign in via OAuth for the first time. They would get the message:
You do not have access to this database or your invitation has expired. Please ask for an invitation and be sure to follow the link in your invitation email.
Is there a way to "pre-allow" users who login via OAuth so they do not get these errors?
The use-case is that only employees are meant to login to the Odoo installation and all of them login via OAuth