Skip to content

Commit f16abbc

Browse files
committed
Publishing 1.9.1 - Updated documentation
Corrects typos and updates Twitter setup instructions.
1 parent f636677 commit f16abbc

File tree

3 files changed

+13
-14
lines changed

3 files changed

+13
-14
lines changed

AUTHENTICATION.md

+11-12
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ To use oAuth you need to configure environment variables with ID and secret and
44

55
This project comes pre-configured to handle Facebook, Google and Twitter oAuth if you provide the ID and sercret for the service via environment variables.
66

7-
You can pass them on the command line or put them in `.env` file which will be loaded at startup (see [.env.example](https://github.com/9oelM/next-auth/blob/master/example/.env.example) for an example).
7+
You can pass them on the command line or put them in `.env` file which will be loaded at startup (see [.env.example](https://github.com/iaincollins/next-auth/blob/master/example/.env.example) for an example).
88

99
If you want to add new oAuth providers (such as GitHub), you will need to:
1010

@@ -73,14 +73,13 @@ Environment variables:
7373

7474
Configuration steps:
7575

76-
1. Sign in at [https://dev.twitter.com](https://dev.twitter.com/)
77-
2. From the profile picture dropdown menu select **My Applications**
78-
3. Click **Create a new application**
79-
4. Enter your application name, website and description
80-
5. For **Callback URL**: `http://your-server.example.com/auth/oauth/twitter/callback`
81-
6. Go to **Settings** tab
82-
7. Under *Application Type* select **Read and Write** access
83-
8. Check the box **Allow this application to be used to Sign in with Twitter**
84-
9. Click **Update this Twitter's applications settings**
85-
10. Specify *Consumer Key* as the **TWITTER_KEY** Config Variable
86-
11. Specify *Consumer Secret* as the **TWITTER_SECRET** Config Variable
76+
1. Sign in at [https://apps.twitter.com](https://apps.twitter.com/)
77+
2. Click **Create a new application**
78+
3. Enter your application name, website and description
79+
4. For **Callback URL**: `http://your-server.example.com/auth/oauth/twitter/callback`
80+
5. Go to **Settings** tab
81+
6. Under *Application Type* select **Read and Write** access
82+
7. Check the box **Allow this application to be used to Sign in with Twitter**
83+
8. Click **Update this Twitter's applications settings**
84+
9. Specify *Consumer Key* as the **TWITTER_KEY** Config Variable
85+
10. Specify *Consumer Secret* as the **TWITTER_SECRET** Config Variable

npm-shrinkwrap.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "next-auth",
3-
"version": "1.9.0",
3+
"version": "1.9.1",
44
"description": "An authentication library for Next.js",
55
"repository": "https://github.com/iaincollins/next-auth.git",
66
"main": "index.js",

0 commit comments

Comments
 (0)