Generate a JWT and Send to Client
Hello,

This is not an issue with Grant but maybe you guys could help me out. I've got Grant working on my API running on http://localhost:3000 and I've got an Angular2 app running on http://localhost:4200.

If I setup my Angular2 app login screen with a Google Auth button that redirects the user window to http://localhost:3000/connect/google (window.location.href='http://localhost:3000/connect/google") I get the Google login page - Great! 

This is where I get lost though. I'd like to have my API take the Google access_token, call the Google People API to get the profile, verify that user email against my own set of users, if the user exists then generate a jsonwebtoken and send that back to the Angular2 app. If I set the callback to call my API though (ex. http://localhost:3000/handle_google_callback) then the JSON Web Token I generate is not available to my front end.

Ways I see to accomplish this are to set the callback to something like 'http://localhost:4200/auth' and have the Angular2 app take the access_token and send it back to my API for further processing. Or by any chance are you familiar with a better way?