I have the below set up that I use to fetch oauth token in postman. How do I write this as an ajax call in jQuery
Postman Details :
tokenUrl => someUrl
grant_type => client_credentials
client_id => xxxxx
client_secret => yyyyy
client authentication => **Send as Basic Auth Header**
Thanks in Advance