302 on jsp springboot combination

I am having application with springboot and jsp combination ,When I wanted to Oauth with okat, it gives persistence redirection with 302. is engine not working for this ?