Hi All,
We would like to dynamically allow/deny which users can register using an oAuth provider.
We have successfully configured oAuth and users are added to the Users table as they log in.
We have created a beforeOAuthRegister event handler that returns {‘short’: true} as per the documentation. See below.
Unfortunately the user gets registered anyway.
We need help to configure the oAuth registration flow to prevent users from being registered.
As a workaround we could accept users being disabled immediately after they are registered, if that would prevent them from accessing any application resource.
Thanks
Mario