forked from vercel/platforms
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
replace twitter auth provider for github (vercel#33)
* replace twitter auth provider for github * removed producthunt badge * stashed some changes * added back twitter oauth to account for previous users * added comments * added some more comments, accounted for both gh and twitter links in blog <a> tag * add gh oauth docs link to env file * removed twitter auth entirely just realized that it might make more sense to keep things simple and only have GH auth. Will keep the logic for having different links on [slug].js pages but for now let's get rid of the twitter next-auth provider and sign in button Co-authored-by: Steven Tey <[email protected]>
- Loading branch information
1 parent
d8ffd29
commit b330256
Showing
9 changed files
with
57 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,10 +9,9 @@ NEXTAUTH_URL=http://app.localhost:3000 | |
DATABASE_URL="mysql://[email protected]:3309/platforms" | ||
SHADOW_DATABASE_URL="mysql://[email protected]:3310/platforms" | ||
|
||
# Twitter OAuth | ||
TWITTER_ID= | ||
TWITTER_SECRET= | ||
TWITTER_AUTH_TOKEN= | ||
# Github OAuth https://docs.github.com/en/developers/apps/building-oauth-apps/creating-an-oauth-app | ||
GITHUB_CLIENT_ID= | ||
GITHUB_CLIENT_SECRET= | ||
|
||
# Secret key (generate one here: https://generate-secret.vercel.app/32) | ||
SECRET= | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
-- AlterTable | ||
ALTER TABLE `User` ADD COLUMN `gh_username` VARCHAR(191) NULL; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
-- AlterTable | ||
ALTER TABLE `Account` ADD COLUMN `refresh_token_expires_in` INTEGER NULL; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters