npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@kwirthmagnify/kwirth-idp-gitlab-cloud

v0.1.9

Published

GitLab.com (SaaS, OIDC) identity provider connector for Kwirth

Readme

kwirth-idp-gitlab-cloud

GitLab.com (SaaS) identity provider connector for Kwirth, over OIDC.

The issuer is fixed to https://gitlab.com — the admin only supplies the OAuth application credentials. For a self-managed GitLab use the gitlab-onprem connector instead.

It is a thin wrapper: all the OIDC logic lives in @kwirthmagnify/kwirth-common-back (oidc*), exposed by the Kwirth backend as a global. The connector ships no runtime dependencies (openid-client is provided by the core).

Configuration

Configured from the connector card in Manage extensions → Identity providers.

| Field | Type | Required | Notes | |-------|------|----------|-------| | clientId | text | yes | GitLab Application ID | | clientSecret | password | yes | GitLab Application Secret (write-only, masked in the UI) | | scopes | text | no | OIDC scopes; defaults to openid email profile | | redirectUri | text | no | The callback GitLab must have registered. Pre-filled with the right value; see below |

GitLab setup

Create an OAuth Application (User settings → Applications, or Admin/Group applications) with:

  • Redirect URI: the value the connector card shows in its Redirect URI field — copy it from there rather than composing it, and register it unchanged.
  • Scopes: openid, email, profile
  • Confidential: yes

Copy the generated Application ID and Secret into the connector card.

About that Redirect URI

Its shape is <scheme>://<host><ROOTPATH>/core/auth/<instanceId>/callback, and the two parts people get wrong are the ones Kwirth cannot work out on its own:

  • ROOTPATH — the subpath Kwirth is served under. It is /kwirth in the stock manifest and chart, so most deployments need it: https://kwirth.example.com/kwirth/core/auth/gitlab-cloud/callback. It is empty only when Kwirth sits at the root of its host.
  • The scheme — inside the pod the connection is plain HTTP. If the reverse proxy does not forward X-Forwarded-Proto, the derived value comes out as http://… for a site the browser reached over HTTPS, and GitLab rejects it with invalid redirect uri. OAuth2 only allows http on loopback.

The field exists for exactly that: leave it empty and Kwirth derives the value (guessing the scheme); fill it in and that string is what travels, in both the authorization request and the token exchange.

Build

npm install
npm run build     # → dist/back.js + dist/package.json
npm run watch     # dev: rebuilds on change (backend hot-reloads)