We propose a group-theoretical approach to the generalized oscillator algebra A κ recently investigated in J. Phys. A: Math. Theor. 2010, 43, 115303. The case κ ≥ 0 corresponds to the noncompact group SU(1,1) (as for the harmonic oscillator and the Pöschl-Teller systems) while the case κ < 0 is described by the compact group SU(2) (as for the Morse system). We construct the phase operators and the corresponding temporally stable phase eigenstates for A κ in this group-theoretical context. The SU(2) case is exploited for deriving families of mutually unbiased bases used in quantum information. Along this vein, we examine some characteristics of a quadratic discrete Fourier transform in connection with generalized quadratic Gauss sums and generalized Hadamard matrices.