Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@nrk/innlogging-dev

Package Overview
Dependencies
Maintainers
189
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nrk/innlogging-dev

A Connect-based middleware for authenticating test users in a local development environment.

npmnpm
Version
0.0.2
Version published
Weekly downloads
203
256.14%
Maintainers
189
Weekly downloads
 
Created
Source

innlogging-dev

A Connect-based middleware for authenticating test users in a local development environment.

Installation

npm install @nrk/innlogging-dev

It can be used as follows:

As a Vite plugin

import { loginDev } from '@nrk/innlogging-dev/vite';
import { defineConfig } from 'vite';

export default defineConfig({
  plugins: [
    loginDev({
      clientId: '<CLIENT_ID>',
      clientSecret: '<CLIENT_SECRET>',
      issuer: '<ISSUER>',
    }),
  ],
});

As a standalone HTTP server using the Connect middleware

import connect from 'connect';
import { loginDevConnect } from '@nrk/innlogging-dev/connect';

const app = connect();
app.use(
  '/_auth/web',
  loginDevConnect({
    clientId: '<CLIENT_ID>',
    clientSecret: '<CLIENT_SECRET>',
    issuer: '<ISSUER>',
  })
);
app.listen(3000);

Keywords

vite-plugin

FAQs

Package last updated on 25 Aug 2025

Did you know?

Socket

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.

Install

Related posts