Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
@isnolan/nestjs-auth
Advanced tools
nestjs-auth is a comprehensive NestJS module for simplified auth management and seamless integration with popular auth platforms.
AuthModule
is a powerful NestJS module designed to streamline auth management by providing seamless integration with popular auth platforms such as Google Sign in, and Apple Sign in .
Using PNPM Install the package along with the Stripe peer dependency:
pnpm install --save @isnolan/nestjs-auth
Synchronous Configuration To utilize SubscriptionModule, import and add it to the imports array of your NestJS module, typically AppModule. Here's a synchronous configuration example:
import { AuthModule } from '@isnolan/nestjs-auth';
@Module({
imports: [
AuthModule.forRoot({
google: {
clientId: `${process.env.GOOGLE_CLIENT_ID}`
}
}),
],
providers: [AppService],
})
export class AppModule {}
Asynchronous Configuration SubscriptionModule also supports asynchronous configuration, useful for determining configurations dynamically at runtime:
import { AuthModule } from '@isnolan/nestjs-auth';
import { ConfigService } from '@nestjs/config';
@Module({
imports: [
AuthModule.forRootAsync({
inject: [ConfigService],
useFactory: async (config: ConfigService) => config.get('auth'),
}),
],
providers: [AppService],
})
export class AppModule {}
FAQs
nestjs-auth is a comprehensive NestJS module for simplified auth management and seamless integration with popular auth platforms.
The npm package @isnolan/nestjs-auth receives a total of 0 weekly downloads. As such, @isnolan/nestjs-auth popularity was classified as not popular.
We found that @isnolan/nestjs-auth demonstrated a healthy version release cadence and project activity because the last version was released less than 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
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.