I want to disable social login sign-up and register as a user from a web app

Hello.
I’m trying to develop a web application using laravel and nuxt.js using Auth0’s universal login.

So, I have a question about social login user registration.
Can something like this be achieved with Auth0?

  • I want to disable social account sign-up from the Universal Login login screen.
  • I want to register a social account via API from the app’s management screen. I don’t want users to register for social login themselves.

I searched the community for similar questions, but couldn’t find any.

Hi there,

Thank you for reaching out to us!

We are trying to reply and provide some information to older posts, in case others encounter the same situation and it can be useful to them as well.

The flow described should be achievable, with a couple of considerations, but please allow me to outline what could work:

  • To disable the Social Connection from the Sign-up screen, but still allow Login through them, please look through out Knowledge Article on this matter : Remove social sign ups from universal login but still allow logins. This should help complete the first step;
  • In order to register the Social Account through API, you will need to go through an account linking path where the user will already need to exist in your tenant. As you cannot fully register a user on their behalf with the social provider, the general path should look something like this :
    – Have the user created in your tenant, either by themselves in an email/pw DB or manually create them/create them through API;
    – Setup Account Linking in order to handle the process;
    – Use The Management API endpoint link the accounts, for which the endpoint is POST /v2/users/{id}/identities;

Hope this helped!
Gerald

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.