I am frequently attempting to compute class groups, with a pretty standard approach:
Calculate the Minkowski bound, and list the primes less than this bound.
Factor $(p)$ into prime ideals (usually using Dedekind's criterion) for each prime $p$ less than the Minkowski bound.
Conclude that the class group is generated by the factors of these $(p)$, and hence determine the group.
I do not understand how to show that ideal classes are distinct in general. For example, let $K=\mathbb{Q}(\sqrt{-23})$ with the ring of algebraic integers $O_K = \mathbb{Z}[\frac{1+\sqrt{23}}{2}]$. The discriminant is -23 and the Minkowski bound is less than 4. So, it will suffice to factor 2,3 into ideals, as the class group will be generated by such ideals. Writing $\omega = \frac{1+\sqrt{23}}{2}$, I can show that $(2)=(2,\omega)(2,\bar\omega)$, $(3)=(3,2\omega)$, $(\omega)=(2,\omega)(3,\omega)$.
By the factorisation of $(\omega)$, $[(3,\omega)]^{-1}=[(2,\omega)]$ in the class group. By the factorisation of $(2)$, $[(2,\omega)]=[(2,\bar\omega)]^{-1}$. Note that $(3,2\omega) \subset (3,\omega)$ so by primality these are equal, and $(3,\omega-1)=(3,2\omega-2)$ simlarly. By the factorisation of $(3)$, $[(3,\omega)]=[(3,\omega-1)]^{-1}$.
So, comparing these equations I can conclude that $[(2,\bar\omega)]=[(3,\omega)], [(2,\omega)]=[(3,\omega-1)]$.
Then, if I can show that $[(3,\omega)]\not = [(2,\omega)]$, I can conclude that the class group his $C_3$, but I don't know how to get this last step. This is purely an example of the problem that I am having; I would like to know in general how to deal with this sort of issue.
A more computational approach, along the lines of your original formulation:
It always helps to write down the norm form, i.e. $\mathbf N^K_{\Bbb Q}(m+n\omega)=m^2+mn+6n^2$, where $\omega=\frac{1+\lambda}2$, $\lambda^2=-23$.
Since $2$ and $3$ both split, we have $(2)=\mathfrak p_2\overline{\mathfrak p_2}$ and $(3)=\mathfrak p_3\overline{\mathfrak p_3}$, and I’m setting $\mathfrak p_2=(2,\omega)$, $\overline{\mathfrak p_2}=(2,\bar\omega)$ as you have, and $\mathfrak p_3=(3,2\omega)=(3,\omega)$, $\overline{\mathfrak p_3}=(3,2\bar\omega)=(3,\bar\omega)$. As you note, $\overline{\mathfrak p_2}\sim\mathfrak p_2^{-1}$ and $\overline{\mathfrak p_3}\sim\mathfrak p_3^{-1}$, where I’m using “$\sim$” to say “in the same class as”.
When we calculate $\mathfrak p_2\mathfrak p_3$, we get \begin{align} \mathfrak p_2\mathfrak p_3&=(2,\omega)(3,\omega)\\ &=(6,3\omega,2\omega,\omega^2)\\ &=(6,\omega)=(\omega)\sim(1)\,, \end{align} since $6=\omega\bar\omega$. Thus $\mathfrak p_2\sim\overline{\mathfrak p_3}$ and $\overline{\mathfrak p_2}\sim\mathfrak p_3$.
We might finish off by verifying directly that $\mathfrak p_2^3\sim(1)$, even though I think that the foregoing shows this fact already. Certainly $\mathfrak p_2^2$ is not principal: its norm is $4$, and that would necessitate an integer of $K$ of norm $4$. But if you look at the norm form equation $m^2+mn+6n^2=4$, you see that the only solution in integers is $(2,0)$. On the other hand, there is a nontrivial solution of $m^2+mn+6n^2=8$, namely $(1,1)$, so that we expect to find something like $\mathfrak p_2^3=(1+\omega)$ or else $\mathfrak p_2^3=(1+\bar\omega)$. Indeed, \begin{align} \mathfrak p_2^3=(2,\omega)^3&=(8,4\omega,2\omega^2,\omega^3)\\ &=(8,4\omega,-12+2\omega,-6-5\omega)\\ 8/(1+\bar\omega)&=1+\omega\\ 4\omega/(1+\bar\omega)&=-3+\omega\\ 2\omega^2/(1+\bar\omega)&=-3-\omega\\ \omega^3/(1+\bar\omega)&=3-2\omega\,. \end{align}
Unnecessarily long, I’ll admit, but it shows how things fit together.