Unable to get access token in Angular 4 post request

I am trying to get the access token via Angular 4 frontend. I have already taken the code in order to get access token. I am using OAuth v2 in LinkedIn service. This is the request it sent initially, enter image description here

After that angular throw, this error because of that it uses doesn't send the actual POST request. enter image description here

Is there any way to bypass this issue or am I doing it wrong?