Skip to content

Commit 4572dae

Browse files
authored
Merge branch 'master' into datastore-update-schema
2 parents 0cc8fcc + e68aac1 commit 4572dae

File tree

5 files changed

+12
-8
lines changed

5 files changed

+12
-8
lines changed

appengine/flexible/endpoints/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Flask==0.11.1
2-
flask-cors==3.0.1
2+
flask-cors==3.0.2
33
gunicorn==19.6.0
44
gcloud==0.18.1
55
six==1.10.0

appengine/standard/firebase/firenotes/README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ A simple note-taking application that stores users' notes in their own personal
44
notebooks separated by a unique user ID generated by Firebase. Uses Firebase
55
Authentication, Google App Engine, and Google Cloud Datastore.
66

7+
This sample is used on the following documentation page:
8+
9+
<https://cloud.google.com/appengine/docs/python/authenticating-users-firebase-app-engine/>
10+
711
You'll need to have [Python 2.7](https://www.python.org/), the
812
[App Engine SDK](https://cloud.google.com/appengine/downloads#Google_App_Engine_SDK_for_Python),
913
and the [Google Cloud SDK](https://cloud.google.com/sdk/?hl=en)
@@ -14,7 +18,7 @@ this sample.
1418

1519
1. Clone this repo:
1620

17-
git clone https://github.com/GoogleCloudPlatform/python-docs-samples/tree/master/appengine/standard/firebase/auth/firenotes
21+
git clone https://github.com/GoogleCloudPlatform/python-docs-samples/tree/master/appengine/standard/firebase/firenotes
1822

1923
1. Within a virtualenv, install the dependencies to the backend service:
2024

@@ -32,10 +36,10 @@ this sample.
3236
environment variable.
3337
1. Select which providers you want to enable. Delete the providers from
3438
`main.js` that you do no want to offer. Enable the providers you chose to keep
35-
in the Firebase console under **Auth** > **SIGN-IN METHOD** >
39+
in the Firebase console under **Auth** > **Sign-in Method** >
3640
**Sign-in providers**.
3741
1. In the Firebase console, under **OAuth redirect domains**, click
38-
**ADD DOMAIN** and enter the domain of your app on App Engine:
42+
**Add Domain** and enter the domain of your app on App Engine:
3943
[PROJECT_ID].appspot.com. Do not include "http://" before the domain name.
4044

4145
## Run Locally
@@ -45,7 +49,7 @@ server with the following command:
4549

4650
dev_appserver.py frontend/app.yaml backend/app.yaml
4751

48-
1. Visit [http://locahost:8080/](http://locahost:8080/) in a web browser.
52+
1. Visit <http://locahost:8080/> in a web browser.
4953

5054
## Deploy
5155
1. Change the backend host URL in `main.js` to

appengine/standard/firebase/firenotes/backend/firebase_helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def extract_public_key_from_certificate(x509_certificate):
7373
subject_public_key_info = tbs_certification[6]
7474

7575
return subject_public_key_info
76-
# [EMD extract_public_key_from_certificate]
76+
# [END extract_public_key_from_certificate]
7777

7878

7979
# [START verify_auth_token]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
Flask==0.11.1
22
pyjwt==1.4.2
3-
flask-cors==3.0.1
3+
flask-cors==3.0.2

requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ coverage==4.2
44
cryptography==1.5
55
Django==1.10.1
66
flaky==3.3.0
7-
flask-cors==3.0.1
7+
flask-cors==3.0.2
88
Flask-Sockets==0.2.1
99
Flask-SQLAlchemy==2.1
1010
Flask==0.11.1

0 commit comments

Comments
 (0)