T
T
TechNOIR2018-09-13 10:35:46
1C-Bitrix
TechNOIR, 2018-09-13 10:35:46

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

1 answer(s)
E
eternalfire, 2018-09-13
@eternalfire

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 question

Ask a Question

731 491 924 answers to any question