How to Get oAuth token without redirecting user to login page

I would like to Get oAuth token without redirecting user to login page any help please.

Hi @dafalla.win,

To clarify, a redirect_url is required to retrieve an access_token, as it’s where the authorization code will be appended to the URL in step one of our OAuth Flow:

However, this redirect_url can be whatever you’d like.

Thanks,
Will