L
L
link08022014-03-13 11:29:55
Open ID
link0802, 2014-03-13 11:29:55

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

1 answer(s)
M
Misha Vasilyev, 2014-03-13
@link0802

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.

Similar questions

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question