Browse Source

Update 'README.md'

master
AJ ONeal 7 months ago
parent
commit
6a22bfecc4
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      README.md

+ 4
- 4
README.md View File

@ -12,7 +12,7 @@ OAuth2 / JWT / OpenID Connect for mocking auth... which isn't that different fro
Add your test domain
0. Go back to https://console.developers.google.com/apis/dashboard
1. Go back to https://console.developers.google.com/apis/dashboard
1. Select your new project from the upper-left drop-down
2. Select `Domain Verification` from the left hand side of the screen
3. Add your test domain (i.e. `beta.example.com`), but a domain that you actually own
@ -22,14 +22,14 @@ Add your test domain
Enable OAuth2
0. Go back to https://console.developers.google.com/apis/dashboard
1. Go back to https://console.developers.google.com/apis/dashboard
1. Select `OAuth consent screen`
2. Select `External`
3. Complete the consent screen form
Create Google Credentials
0. Go back to https://console.developers.google.com/apis/dashboard
1. Go back to https://console.developers.google.com/apis/dashboard
1. Select `Credentials` from the left sidebar
2. Select `OAuth ID`
3. Select `Web Application`
@ -52,7 +52,7 @@ Update your signin page.
```html
<script src="https://apis.google.com/js/platform.js" async defer></script>
```
3. You can start off with the Google's sign in button, but you need your own `data-onsuccess` callback. You can also adjust the `data-scope` per button to include more stuff.
3. You can start off with the Google's sign in button, but you need your own `data-onsuccess` callback. You can also adjust the `data-scope` per button to include more stuff. Scopes are defined at https://developers.google.com/identity/protocols/oauth2/scopes
```html
<div
class="g-signin2"

Loading…
Cancel
Save