Regarding CORS error when i try to hit springBoot backend API through my angular Frontend

here is an error i am getting in my chrome console can someone please help
“Access to XMLHttpRequest at ‘http://localhost:9090/eMigrate/emigrantAccess’ from origin ‘http://localhost:4200’ has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: Redirect is not allowed for a preflight request”

waiting for suggestions
Thankyou