Uh oh!
There was an error while loading. Please reload this page.
Auth samples for Endpoints. - #431
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Isn't with key file implied? Is there any way to do it without a key file?
ContributorAuthor
There was a problem hiding this comment.
All the three auth samples added here are to show how to authenticate with endpoints without a key file.
theacodes
commented
Jul 28, 2016
Contributor
Finished a first pass. Let me know when you're ready for another pass. |
liminwforce-pushed
the
master
branch
2 times, most recently
from
July 29, 2016 21:02
537e0a1 to
97e7d65CompareAdded three samples: 1. Use App Engine default service account client (without key file). 2. Use non-default service account client (without key file). 3. Use Google ID token client (without key file)
| six==1.10.0 | ||
| pyyaml==3.11 | ||
| requests==2.10.0 | ||
| google-api-python-client |
Contributor
There was a problem hiding this comment.
please pin the version, I think 1.5.1 is the latest.
theacodes
commented
Jul 29, 2016
Contributor
Code looks mostly good, two things I would like to see in the README before we merge this:
|
| 4. Upload your application to Google App Engine by invoking the following command. | ||
| appcfg.py -A <YOUR-CLIENT-PROJECT-ID> -V v1 update . | ||
| gcloud app deploy app.yaml --project=<YOUR-CLIENT-PROJECT-ID> --promote |
Contributor
There was a problem hiding this comment.
Neither --project or --promote are needed for gcloud app
theacodes
commented
Aug 2, 2016
Contributor
Merged. Thank you! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added three samples: