@@ -28,13 +28,19 @@ individual accounts, or a whole google apps domain.
2828## OAuth Configuration
2929
3030You will need to register an OAuth application with google, and configure it with Redirect URI(s) for the domain you
31−intend to run google_auth_proxy on.
31+intend to run `google_auth_proxy` on.
32+
33+1. Create a new project: https://console.developers.google.com/project
34+2. Under "APIs & Auth", choose "Credentials"
35+3. Now, choose "Create new Client ID"
36+ * The Application Type should be **Web application**
37+ * Enter your domain in the Authorized Javascript Origins `https://internal.yourcompany.com`
38+ * Enter the correct Authorized Redirect URL `https://internal.yourcompany.com/oauth2/callback`
39+ * NOTE: `google_auth_proxy` will _only_ callback on the path `/oauth2/callback`
40+4. Under "APIs & Auth" choose "Consent Screen"
41+ * Fill in the necessary fields and Save (this is _required_)
42+5. Take note of the **Client ID** and **Client Secret**
3243
33−1. Visit to Google Api Console https://code.google.com/apis/console/
34−2. under "API Access", choose "Create an OAuth 2.0 Client ID"
35−3. Edit the application settings, and list the Redirect URI(s) where you will run your application. For example:
36−`https://internalapp.yourcompany.com/oauth2/callback`
37−4. Make a note of the Client ID, and Client Secret and specify those values as command line arguments
3844
3945## Command Line Options
4046