You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: AUTHENTICATION.md
+11-12
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ To use oAuth you need to configure environment variables with ID and secret and
4
4
5
5
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.
6
6
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).
8
8
9
9
If you want to add new oAuth providers (such as GitHub), you will need to:
10
10
@@ -73,14 +73,13 @@ Environment variables:
73
73
74
74
Configuration steps:
75
75
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
0 commit comments