Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google auth instructions #1

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,34 @@ The `secret` provided in `config.json` will be used by [express-session](https:/

### Google

- Head to [console.developers.google.com](https://console.developers.google.com)
- create project
- `My Project` (top left) > `new project`
- *Project Name*: the name of your blog
- *Location*: Optional (`No organisation` is ok)
- create
- switch to new project
- library (on the left)
- search for `google+ api`
- enable
- credentials (on the left)
- OAuth Consent Screen tab
- *Application Name*: the name of your blog
- *Support Email*
- *Authorized domains*: add your primary domain (`https://example.com` not `https://schnack.example.com`)
- *Application Homepage link*: your front page
- other fields appear to be optional
- create credentials > OAuth Client ID
- *Application Type*: Web application
- *Name*: the name of your blog
- *Authorized JavaScript Origins*: primary domain
- other fields appear to be optional
- note warning:

> OAuth is limited to 100 sensitive scope logins until the OAuth consent screen is published. This may require a verification process that can take several days.



### Facebook

## Notifications
Expand Down
38 changes: 37 additions & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,43 @@ <h3 id="google">
Google
</a>
</h3>

<ul>
<li>Head to <a href="https://console.developers.google.com">console.developers.google.com</a></li>
<li>create project<ul>
<li><code>My Project</code> (top left) &gt; <code>new project</code></li>
<li><em>Project Name</em>: the name of your blog</li>
<li><em>Location</em>: Optional (<code>No organisation</code> is ok)</li>
<li>create</li>
</ul>
</li>
<li>switch to new project</li>
<li>library (on the left)<ul>
<li>search for <code>google+ api</code></li>
<li>enable</li>
</ul>
</li>
<li>credentials (on the left)</li>
<li>OAuth Consent Screen tab<ul>
<li><em>Application Name</em>: the name of your blog</li>
<li><em>Support Email</em></li>
<li><em>Authorized domains</em>: add your primary domain (<code>https://example.com</code> not <code>https://schnack.example.com</code>)</li>
<li><em>Application Homepage link</em>: your front page</li>
<li>other fields appear to be optional</li>
</ul>
</li>
<li>create credentials &gt; OAuth Client ID<ul>
<li><em>Application Type</em>: Web application</li>
<li><em>Name</em>: the name of your blog</li>
<li><em>Authorized JavaScript Origins</em>: primary domain</li>
<li>other fields appear to be optional</li>
</ul>
</li>
<li>note warning:</li>
</ul>
<blockquote>
<p>OAuth is limited to 100 sensitive scope logins until the OAuth consent screen is published. This may require a verification process that can take several days.</p>
</blockquote>

<h3 id="facebook">
<a class="anchor" href="#facebook">
Facebook
Expand Down