fix: display errors for oauth page (#38546)