Universal login and token authentication

Hi,

I’m building an app with Angular on the front end and Laravel as the API; it’s an API first application.

My question in how does this work with Auth0? I’m interested in using the Universal Login as I want to use social logins that Universal Login seems to offer out-of-the-box. But it only seems to authenticate users on the front end, it doesn’t handle API side authentication right?

Conversely, I’ve seen tutorials for using Auth0 in middleware on the API layer to handle authentication via access tokens. This also makes sense to me, except how does that work alongside universal login?

Do I have to use either one? I can’t benefit from both?

Hi @hello2,

Welcome to the Auth0 Community Forum!

Have you taken a look at this doc:

I think it is describing your scenario. Let me know if you have more questions.

Thanks,
Dan

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