Is it possible to have social login buttons integrated into my web app, instead of redirecting users to universal login page?
Hey there @lukesamkharadze welcome to the community!
The exact approach depends, but the answer is yes - You basically just need to pass the connection
param (google-oauth2
for example) in the call to the /authorize
endpoint.
Hope this helps!
Is there any example in the docs? I couldn’t find one.
All I see is Universal login page and embedding using locks which is not what I’m looking for.
Right now I’m running NextJS Auth0 example app, and there is no call to /authorize
anywhere
Unfortunately, we don’t have any “official” example, but it looks like you should be able to achieve this with handleAuth
where you’re able to pass the connection as a param to authorizationParams
:
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.