title: Laravel Rest API Google Auth at Angular
body: <p>Authenticating server Api is the problem</p>
  
  <p>I am trying to create an API in laravel and and Angular App in 2 different server. I am not getting a good article which can explain me step by step process. </p>
  
  <p>The problem I am facing is I am not sure what to do with the client_secret I am sure I need to verify this while I authenticate and login on my Angular app (verify on server laravel)</p>
  
  <p>Do I use the redirect url to set it to a laravel route (since google with redirect with the access token on successful login from angular to whatever url I point it to)or do I make a call from angular after I have it in angular scope ie send the id token to a laravel route using a rest call</p>
  
  <p>I am making the laravel api since in future I may have an mobile app and I could reuse the api</p>
  
  <p>I know I may be in a wrong forum. But this is the most responsive forum I know.</p>