Skip to content

Commit ec6cd7b

Browse files
committed
Merge branch 'main' of github.com:nextauthjs/cli
2 parents 26a7973 + 782aef8 commit ec6cd7b

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

lib/meta.js

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,25 @@ export const providers = {
158158
todoist: { name: "Todoist", setupUrl: undefined },
159159
trakt: { name: "Trakt", setupUrl: undefined },
160160
twitch: { name: "Twitch", setupUrl: undefined },
161-
twitter: { name: "Twitter", setupUrl: undefined },
161+
twitter: {
162+
name: "Twitter",
163+
setupUrl: "https://developer.x.com/en/portal/dashboard",
164+
instructions: `\
165+
1. Create a project
166+
2. Set the *Project name* (can be anything)
167+
3. Choose a use case, then click Next
168+
4. Give it a description, then click Next
169+
5. An app will be created for you
170+
6. Set the app name
171+
7. Click on *App Settings*
172+
8. Click *Set up* under *User authentication settings*
173+
9. Select *Web App, Automated App or Bot* at "Type of app"
174+
10. Add the callback URI (on your clipboard) to *Callback URLs*
175+
11. Fill out the other required fields (your website)
176+
12. Copy and paste the *Client ID*
177+
13. Copy and paste the *Client Secret*
178+
14. Click *Done*`,
179+
},
162180
"united-effects": { name: "United Effects", setupUrl: undefined },
163181
vk: { name: "Vk", setupUrl: undefined },
164182
webex: { name: "Webex", setupUrl: undefined },

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"homepage": "https://cli.authjs.dev",
55
"repository": {
66
"type": "git",
7-
"url": "git+https://github.com/nextauthjs/auth-cli.git"
7+
"url": "git+https://github.com/nextauthjs/cli.git"
88
},
99
"description": "The CLI tool by Auth.js to supercharge your authentication workflows.",
1010
"scripts": {

0 commit comments

Comments
 (0)