title: How can I get the user profile data in passport google auth callback function?
body: <p>I'm using Passport Google auth for authentication. I am just confused about how I can pass the user profile data to the callback URL passed to passport google strategy.
  <a href="https://i.stack.imgur.com/IScf8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/IScf8.png" alt="enter image description here" /></a></p>
  <p>In reference to the above picture, I have passed a callback URL to passport google strategy. I want the below user data object on this callback URL. How can I achieve this?</p>
  <p>This is my callback path:
  <a href="https://i.stack.imgur.com/n7s9E.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/n7s9E.png" alt="enter image description here" /></a></p>
  <p>And the handler for this route:
  <a href="https://i.stack.imgur.com/K09XO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/K09XO.png" alt="enter image description here" /></a></p>
  <p>I am getting only the code, scope params over there:
  <a href="https://i.stack.imgur.com/cz6cO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cz6cO.png" alt="enter image description here" /></a></p>
  <p>In Short, I want to return the custom jwt token to the frontend when the OAuth successfully completes. Can someone please help me achieve this?
  Thanks in Advance.</p>