Foreign shares as compensation and taxes paid to foreign country
Hi, I work for a US company whose global headquarter is in France. Part of compensation comes in the form of share grants each year. They take 4 years to vest after which they're mine to action. Using round numbers for simplicity, I owned $50K worth of shares in 2019, of which I "sold-to-cover" $20K worth of shares to address my tax liability to France and cashed out the remaining $30K which was directly deposited into my personal Citi checking account from BNP Paribas (bank where shares are managed).
After looking at my W2s, $50K is reported as part of my earnings. The $20K I paid to France is listed under Deductions as a miscellaneous deduction and therefore making the $30K as taxable income.
Is this correct that I'm taxed in both France and US for this kind of compensation or is there a way to get a credit for the $20K i paid to France?