feat(oauth): fix errors handling and adapt with front