This paper presents an exact solution for the Dirac oscillator problem in one dimension based on the generalized uncertainty principle (GUP). The authors propose a novel method utilizing the energy eigenvalues of the quantum harmonic oscillator to derive the exact energy spectrum while highlighting the system's supersymmetry aspects. The results obtained align with existing literature but offer an alternative and simpler approach to the problem.