Assign correct user type when registering with Google
-
Hello UsersWP Support Team,
I am using UsersWP with GeoDirectory and multiple user types defined (for example: User and Owner).
I have configured two different registration forms, each one assigned to a specific user type:
– One form for standard users
– One form for owners
This setup works perfectly when users register using the default UsersWP registration forms.However, when I enable the Social Login module (Google registration), the user type is not correctly assigned during registration. The social login process seems to ignore the form context, and the registered user does not receive the expected user type (empty)
My questions are:
Is it currently possible to associate the correct user type when a user registers via Google Social Login, depending on the registration form used?
If yes, could you please explain the correct configuration, script to add or workflow?
If not, is this a known limitation or is there a recommended workaround (hook, filter, or custom code)?
Thank you in advance for your help and clarification.
Best regards,Nico
You must be logged in to reply to this topic.