Answer the question
In order to leave comments, you need to log in
1C-Bitrix. How to change the generated login when logging in through a social network?
Good afternoon.
When authorizing through social networks (component socserv.auth.form), a login of the following type is generated:
InstagramUser8567712947
Is it possible to somehow reduce the length of the login or even make it take the login from the social network?
thanks in advance
Answer the question
In order to leave comments, you need to log in
to take the login from the social network - no (but you can take for example e-mail - https://vk.com/dev/permissions )
change - you can
use the event OnBeforeUserAdd
https://dev.1c-bitrix.ru/api_help/main/ events/onbe...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question