Let $P_1,P_2$ be $G_1,G_2$ principal bundles over a smooth manifold. Let $\alpha: G_1 \to G_2$ be a group homomorphism. A morphism of principal bundles over $\alpha$ is an $\alpha$-equivariant smooth bundle map.
I want to show that for a principal $G$-bundle if there exists a morphism over $\{ \operatorname{id}_G \} \to G$ then we can construct a global section.
I am bit confused because in my head the condition states that given $f: P_1 \to P_2$ then $f(p \cdot g)=f(p)\cdot \alpha(g)$ but in this case the first group is trivial (unless I don't understand the notation) so the condition would be $f(p\cdot e)=f(p)$.
I want to construct the section $s_f$ by specifying it on a trivializing open cover and then check that it behaves well under transition functions. I was thinking to define something like,
$$ U_i \to U_i \times G, \enspace p \mapsto (p,f(p,e))$$
but I don't know if this makes sense.