This is an example app that uses google for authentication and then uses the JWT token to make an authenticated api call to API Gateway/Lambda endpoint to fetch some data.
$ npm start
- Angular
- Webpack
- HomeComponent
- This component requires a loged in user
- redirects to LoginComponent via the auth.guard.js
- LoginComponent
- Provides a buttons for Signin, SignOut, and revoke access
- GoogleAuthService
- wrapper for the google api
- This is responsible for loading the gapi client lib
- SecretDataService
- This pulls data from our APIGateway/Lambda api
- UserService
- This holds the current user and auth token
See the README located at server/README.md
https://outcrawl.com/todo-list-angular-google-app-engine-part-2/