From 0e7be8f3da2acf19f2e8bc4285e18177fa78b8eb Mon Sep 17 00:00:00 2001 From: Christophe Brisbois Date: Mon, 27 Feb 2017 21:50:18 +0100 Subject: [PATCH] Update README.md --- README.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 2ab2203..57826a2 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ Create and configure a new projet. 1) Open page: https://console.developers.google.com -2) Create a new project named **`nanogallery2gp_YOUR_INSTANCE_NAME`** (the project name should be unique, so replace **YOUR_INSTANCE_NAME** with the name of your own instance) +2) Create a new project named **`nanogallery2gp-YOUR-INSTANCE-NAME`** (the project name should be unique, so replace **YOUR-INSTANCE-NAME** with the name of your own instance) step 1 @@ -49,7 +49,7 @@ Create and configure a new projet. Select your email address -Define the "product nameshown to user": **"nanogallery2gp_YOUR_INSTANCE_NAME"** +Define the "product nameshown to user": **"nanogallery2gp-YOUR-INSTANCE-NAME"** Others fields are optional @@ -60,7 +60,7 @@ Others fields are optional step 4 Application type: "Web application" -Name: **"nanogallery2gp_YOUR_INSTANCE_NAME"** +Name: **"nanogallery2gp-YOUR-INSTANCE-NAME"** Define the authorized redirect URLs: enter the full path to your `autorize.php` @@ -83,10 +83,11 @@ Use a browser to open the `authorize.php` page: `http://your_webserver/nanogp/au The `admin` folder should only be accessible to your PHP applications. For example, with `deny from all` set in `.htaccess` file. +## Manually revoke authorization +- delete the folder corresponding to the user in `admin/users` +- delete application's authorization: https://myaccount.google.com/permissions + ## OAuth2 More about OAuth2: https://developers.google.com/identity/protocols/OAuth2WebServer -To manually revoke authorization: -- delete the folder corresponding to the user in `admin/users` -- delete application's authorization: https://myaccount.google.com/permissions