Let $G$ be a connected Lie Group of dimesion $m<\infty$ and let $g\in G$. The Maurer-Cartan form allows us to define a map from $G$ to the space of $\mathfrak{g}$-valued forms, via $$g\rightarrow g^{-1}dg$$
Is this map surjective, i.e. can every $\mathfrak{g}$-valued form be written as $g^{-1}dg$ for some $g\in G$?