how to trigger login manually with Auth0 in laravel 5.4

I have tried to implement Auth0 in my laravel project. My laravel version is 5.4. The following link helps me to implement Auth0.

But later I found that it is for web app. Actually I need to use web API. When I referred the above link, it gives details about integrating login via Auth0 widget. But since I need to use login for web API, how can I manually trigger it?