
Security News
Feross on the 10 Minutes or Less Podcast: Nobody Reads the Code
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.
nextauth-cli
Advanced tools
A cli tool to initialize nextauth setup with a simple command.
nextauth init [options] [command]
next-app - For Next.js Projects with a '/pages' Router setup.next-pages - For Next.js Projects with a '/pages' Router setup.Provider Flags
--Apple - Adds Apple Provider.--Atlassian - Adds Atlassian Provider.--Auth0 - Adds Auth0 Provider.--Authentik - Adds Authentik Provider.--AzureAD - Adds AzureAD Provider.--AzureB2C - Adds AzureB2C Provider.--Battlenet - Adds Battlenet Provider.--Box - Adds Box Provider.--BoxyHQSAML - Adds BoxyHQSAML Provider.--Bungie - Adds Bungie Provider.--Cognito - Adds Cognito Provider.--Coinbase - Adds Coinbase Provider.--Discord - Adds Discord Provider.--Dropbox - Adds Dropbox Provider.--DuendeIDS6 - Adds DuendeIDS6 Provider.--Eveonline - Adds Eveonline Provider.--Facebook - Adds Facebook Provider.--Faceit - Adds Faceit Provider.--FortyTwoSchool - Adds FortyTwoSchool Provider.--Foursquare - Adds Foursquare Provider.--Freshbooks - Adds Freshbooks Provider.--Fusionauth - Adds Fusionauth Provider.--GitHub - Adds GitHub Provider.--Gitlab - Adds Gitlab Provider.--Google - Adds Google Provider.--Hubspot - Adds Hubspot Provider.--Instagram - Adds Instagram Provider.--Kakao - Adds Kakao Provider.--Keycloak - Adds Keycloak Provider.--Line - Adds Line Provider.--LinkedIn - Adds LinkedIn Provider.--Mailchimp - Adds Mailchimp Provider.--Mailru - Adds Mailru Provider.--Medium - Adds Medium Provider.--Naver - Adds Naver Provider.--Netlify - Adds Netlify Provider.--Okta - Adds Okta Provider.--Onelogin - Adds Onelogin Provider.--Osso - Adds Osso Provider.--Osu - Adds Osu Provider.--Passage - Adds Passage Provider.--Patreon - Adds Patreon Provider.--Pinterest - Adds Pinterest Provider.--Pipedrive - Adds Pipedrive Provider.--Reddit - Adds Reddit Provider.--Salesforce - Adds Salesforce Provider.--Slack - Adds Slack Provider.--Spotify - Adds Spotify Provider.--Strava - Adds Strava Provider.--Todoist - Adds Todoist Provider.--Trakt - Adds Trakt Provider.--Twitch - Adds Twitch Provider.--Twitter - Adds Twitter Provider.--UnitedEffects - Adds UnitedEffects Provider.--Vk - Adds Vk Provider.--Wikimedia - Adds Wikimedia Provider.--Wordpress - Adds Wordpress Provider.--WorkOS - Adds WorkOS Provider.--Yandex - Adds Yandex Provider.--Zitadel - Adds Zitadel Provider.--Zoho - Adds Zoho Provider.--Zoom - Adds Zoom Provider.Configuration Flags
--env - Create or Update .env.example file with all provider variables that has to be declared!--ts - Provide if you have a typescript project setup or not. js files are created by Default.Help
-h, --help - display help for command./api/auth/[...nextauth].js | /api/auth/[...nextauth]/route.js files, with base configuration of nextauth.GitHubProvider Provider to the base auth file.For Next.js Projects with /app folder structure
nextauth init next-app --GitHub
For Next.js Projects with /pages folder structure
nextauth init next-pages --GitHub
.env.example file with all the ID and SECRET variables used mentioned..env files, hence .env.example. 🫣For Next.js Projects with /app folder structure
nextauth init next-app --GitHub --env
For Next.js Projects with /pages folder structure
nextauth init next-pages --GitHub --env
--ts flag generates .ts files in the project structure with typesafety. If not specified files with .js extentions are created by default.For Next.js Projects with /app folder structure
nextauth init next-app --GitHub --env --ts
For Next.js Projects with /pages folder structure
nextauth init next-pages --GitHub --env --ts
route.ts file exports for latest Next.js 13.4+ versions. ✔️src/pages directory structure. ☑️--ts flag for all routes. ✅.env.example File. ✅FAQs
A nextauth cli to setup a basic application Setup running
The npm package nextauth-cli receives a total of 5 weekly downloads. As such, nextauth-cli popularity was classified as not popular.
We found that nextauth-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.

Research
/Security News
Campaign of 108 extensions harvests identities, steals sessions, and adds backdoors to browsers, all tied to the same C2 infrastructure.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.