Enrich profile with Email for Vkontakte

Rules won’t let you intercept the OAuth2 conversation between Auth0 and vK, so you won’t be able to fix the default VK connection behavior using rules.

I believe it should be possible to get the email using a custom social connection though, by:

  • Requesting an email scope
  • In the user profile function, use ctx.email to get the email address from the token response.

Have you tried the above?

3 Likes