
Security News
Open Source Maintainers Demand Ability to Block Copilot-Generated Issues and PRs
Open source maintainers are urging GitHub to let them block Copilot from submitting AI-generated issues and pull requests to their repositories.
@bitinflow/nuxt-oauth
Advanced tools
Nuxt module for OAuth2 authentication
@bitinflow/nuxt-oauth
dependency to your project# Using pnpm
pnpm add -D @bitinflow/nuxt-oauth
# Using yarn
yarn add --dev @bitinflow/nuxt-oauth
# Using npm
npm install --save-dev @bitinflow/nuxt-oauth
@bitinflow/nuxt-oauth
to the modules
section of nuxt.config.ts
and disable ssr
.Or alternatively disable ssr
via routeRules
, only for pages where auth
or guest
middlewares are needed. Typically account section and login page.
export default defineNuxtConfig({
modules: [
'@bitinflow/nuxt-oauth'
],
ssr: false,
// or
routeRules: {
'/account/**': { ssr: false },
'/auth/**': { ssr: false }
},
oauth: {
redirect: {
login: '/login',
logout: '/',
callback: '/login',
home: '/home'
},
endpoints: {
authorization: 'https://example.com/v1/oauth/authorization',
userInfo: `https://example.com/api/users/me`,
logout: 'https://example.com/oauth/logout'
},
clientId: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx',
scope: ['user:read']
},
})
That's it! You can now use @bitinflow/nuxt-oauth in your Nuxt app ✨
# Install dependencies
npm install
# Generate type stubs
npm run dev:prepare
# Develop with the playground
npm run dev
# Build the playground
npm run dev:build
# Run ESLint
npm run lint
# Run Vitest
npm run test
npm run test:watch
# Release new version
npm run release
FAQs
Nuxt 3 OAuth Module
The npm package @bitinflow/nuxt-oauth receives a total of 160 weekly downloads. As such, @bitinflow/nuxt-oauth popularity was classified as not popular.
We found that @bitinflow/nuxt-oauth demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
Open source maintainers are urging GitHub to let them block Copilot from submitting AI-generated issues and pull requests to their repositories.
Research
Security News
Malicious Koishi plugin silently exfiltrates messages with hex strings to a hardcoded QQ account, exposing secrets in chatbots across platforms.
Research
Security News
Malicious PyPI checkers validate stolen emails against TikTok and Instagram APIs, enabling targeted account attacks and dark web credential sales.