signin with AppleId in Webapp getting "Invalid_Client" error

We are implementing a web app with Angular as frontend and java springboot as backend. while trying to use signin with Appleid in our application login page, we are getting Invalid_Client.

please find the attached log and image of error.