OAuth 2.0 Username-Password Flow in mautic

Hi,

I have single page application and I want to integrate Mautic with it so I need to use Mautic APIs, so when the client side call the api first time the mautic will redirect it to login page to auth, but i do not want this way I want to pass username and password to get access token,
So the question now is: Can I get access token for Mautic APIs without redirect to login page to get authentication, So I can pass the username and password to /authorize end point.

Thanks,
Ayman