Answer the question
In order to leave comments, you need to log in
How to request an email input when logging in via VK?
The Bitrix site uses social login. network, made on the basis of a standard component of social services. VK does not give the user's email.
How can I request an email input from the user after logging in via VKontakte?
Answer the question
In order to leave comments, you need to log in
When a user registers via social networks, the OnAfterSocServUserAdd event fires. In its handler, you can either put the user in the desired group, or in some other way mark that the person is from VK and without email.
Then, when logging in, look to see if the person is in the group we need or not, and if he is, then send him to the page with the email input.
A crutch, of course.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question