I'm reading the nlab entry on torsors and am struggling to show the two definitions below are equivalent using only universal properties. All torsors in question are over a point.
Definition 1. A $G$-torsor is a $G$-action $\varphi:G\curvearrowright X$ which is isomorphic as an action to multiplication $m:G\curvearrowright G$.
Definition 2. A $G$-torsor is a $G$-action $\varphi:G\curvearrowright X$ such that $X$ admits a global point $x:\mathbf 1\to X$ and the arrow $(\varphi,\pi_2):G\times X\to X\times X$ is an isomorphism.
Given the first definition I thought of showing that $(m,\pi_2):G\times G\to G\times G$ is an isomorphism iff $(\varphi,\pi_2):G\times X\to X\times X$ is an isomorphism, since the latter is always an iso, but I don't know how to show this.
For the converse, for instance here, the nlab assumes the second definition and says the following square is a pullback, but I don't understand why. The "elements" of the pullback are triples $(g,x,y)$ such that $gx=y$ and saying this is the same as giving $G$ seems to assume we're already dealing with a $G$-torsor. $$\require{AMScd} \begin{CD} G\times \mathbf 1 @>{1\times x}>> G\times X\\ @VVV @VV{(\varphi,\pi_2)}V\\ X\times \mathbf 1 @>>{1\times x}> X\times X \end{CD}$$