I registered an application in my google console and I got my client_id and client_secret.
Every solutions I checked until now didn't use client_secret at any level of doing this job.
What is client_secret used for though??
I'm using angularx-social-login for spa side.. so I used my client_id to get token from google and then send it to my backend server.. What should I do now?
How can I validate the token I got from google in backend?
By "Validation" I mean how can I be sure that the token is obtained using my SPA and my own WebApplication client_id?
Update: Thanks to Mosia Thabo this answer helped me. Thank U all.