as you noticed, $n=0$ gives $x = \pm 1$.
if $n$ is even, $n=2m >0$, we have:
$$23^{2m} +1 = 2x^2 \iff (23^{m})^2-2x^2 = -1$$
which is a generalized Pell's equation, whose candidates to solutions are of the form $a+b\sqrt2$. In particular: $$y^2-2x^2 = -1 $$
You can check here that the general solution for that equation is $$y_a + x_a \sqrt 2 = (1+\sqrt2)^{2a-1}, a \in \mathbb N$$
we want one $y_a$ such that $y_a = 23^m $. I hope you will agree with me that $$y_a = \frac{(1+\sqrt2)^{2a-1} + (1-\sqrt2)^{2a-1}}{2}$$ Now we use a result from the non-trivial-by-any-means Carmichael's theorem. Notice that we are dealing with a subset of the Pell's numbers and the wikipedia link that I posted says that every Pell's number other than $1$ is such that it has new prime factors that the previous ones didn't have, but $y_6 = 8119 = 23 \cdot 353$ is the first one divisible by $23$ so any other $y_a$ will have factors other than $23$.
So $n$ must be odd. Now look:
$$23^{2b+1} +1 = 2x^2 \iff 2x^2 - 23 \cdot 23^{2b} = 1$$
we can try to apply the same principle here, but the theorem I used is very strong and particular. It is easy to find the general formula for the solutions of the Pell's equation $$2x^2-23y^2 =1$$, but maybe you guys have a better idea to solve the odd case. Good luck :D