I am using next-auth in conjunction with Auth0, I have a button that says “Login With Worldcoin”, I have added Worldcoin as an integration to my Auth0 tenant and want to sign-in with that integration on click. Currently it redirects me to the Auth0 login page in which you can choose out of different providers.
Question: Is there a way to skip that screen and just login with the provider directly on button click? Ideally, it should work with the signIn function of next-auth.
If you want to force your user to use a specific social connection, you use the /authorize endpoint with a set connection parameter. In your case, you will need to check a name for Worldcoin and pass it in the connection:
GET https://{yourDomain}/authorize?
response_type=code|token&
client_id={yourClientId}&
connection=CONNECTION&
redirect_uri={https://yourApp/callback}&
state=STATE&
ADDITIONAL_PARAMETERS