Access provider directly & skip intermediate login page

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.

Thanks a lot in advance!

Hi @ziad

Welcome to the Auth0 Community!

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?

GET /authorize

I hope it will help you.
Thanks, and have a great day!


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