Comparing version 1.2.2 to 1.2.3
@@ -62,3 +62,5 @@ import fs from "node:fs" | ||
const privateKey = fs.readFileSync(path.resolve(privateKeyPath), "utf8") | ||
const privateKey = fs | ||
.readFileSync(path.resolve(privateKeyPath), "utf8") | ||
.replace(/-----BEGIN PRIVATE KEY-----|\n|-----END PRIVATE KEY-----/g, "") | ||
@@ -65,0 +67,0 @@ const signature = await sign(parts.join("."), privateKey) |
@@ -161,3 +161,21 @@ // @ts-check | ||
twitch: { name: "Twitch", setupUrl: undefined }, | ||
twitter: { name: "Twitter", setupUrl: undefined }, | ||
twitter: { | ||
name: "Twitter", | ||
setupUrl: "https://developer.x.com/en/portal/dashboard", | ||
instructions: `\ | ||
1. Create a project | ||
2. Set the *Project name* (can be anything) | ||
3. Choose a use case, then click Next | ||
4. Give it a description, then click Next | ||
5. An app will be created for you | ||
6. Set the app name | ||
7. Click on *App Settings* | ||
8. Click *Set up* under *User authentication settings* | ||
9. Select *Web App, Automated App or Bot* at "Type of app" | ||
10. Add the callback URI (on your clipboard) to *Callback URLs* | ||
11. Fill out the other required fields (your website) | ||
12. Copy and paste the *Client ID* | ||
13. Copy and paste the *Client Secret* | ||
14. Click *Done*`, | ||
}, | ||
"united-effects": { name: "United Effects", setupUrl: undefined }, | ||
@@ -164,0 +182,0 @@ vk: { name: "Vk", setupUrl: undefined }, |
{ | ||
"name": "auth", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"homepage": "https://cli.authjs.dev", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/nextauthjs/auth-cli.git" | ||
"url": "git+https://github.com/nextauthjs/cli.git" | ||
}, | ||
@@ -9,0 +9,0 @@ "description": "The CLI tool by Auth.js to supercharge your authentication workflows.", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
42314
977