Skip to content

Commit

Permalink
chore: update npm organisation from @techpass to @govtechsg
Browse files Browse the repository at this point in the history
  • Loading branch information
seng-siong committed May 15, 2023
1 parent ba8b571 commit 8d629cf
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## v1.0.1 (2023-05-15)

> There is no change to the codebase, just a version bump to publish to the new npm organisation.
### Changed

- chore: update npm organisation from `@techpass` to `@govtechsg`
- chore: update github actions

## v1.0.0 (2023-05-12) - Official Release

### Changed
Expand Down
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@

> **Note**: Fork of [Jared Hansen's Passport](https://www.passportjs.org/) strategy for authenticating with [OpenID Connect](https://openid.net/connect/).
[![npm (scoped)](https://img.shields.io/npm/v/@techpass/passport-openidconnect?color=blue)](https://www.npmjs.com/package/@techpass/passport-openidconnect)
> **Note**: From v1.0.1 onwards, the library will be published under the `@govtechsg` organisation. The old packages under `@techpass` will be deprecated in time.
[![npm (scoped)](https://img.shields.io/npm/v/@govtechsg/passport-openidconnect?color=blue)](https://www.npmjs.com/package/@govtechsg/passport-openidconnect)

This module lets you authenticate using OpenID Connect in your Node.js applications. By plugging into Passport, OpenID Connect-based sign in can be easily and unobtrusively integrated into any application or framework that supports [Connect](https://github.com/senchalabs/connect#readme)-style middleware, including [Express](https://expressjs.com/).

## Install

```sh
npm install @techpass/passport-openidconnect
npm install @govtechsg/passport-openidconnect
```

> If you are coding in typescript, this library has native typings support. But you may need to install type definitions for `express` and `passport-strategy` separately as there is a dependency on them.
Expand Down Expand Up @@ -120,7 +122,7 @@ Typically, when the account is logging in for the first time, a new user record
Because the `verify` function is supplied by the application, the app is free to use any database of its choosing. The example below illustrates usage of a SQL database.

```js
const OpenIDConnectStrategy = require("@techpass/passport-openidconnect");
const OpenIDConnectStrategy = require("@govtechsg/passport-openidconnect");

passport.use(
new OpenIDConnectStrategy(
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@techpass/passport-openidconnect",
"version": "1.0.0",
"name": "@govtechsg/passport-openidconnect",
"version": "1.0.1",
"description": "OpenID Connect authentication strategy for Passport.",
"keywords": [
"auth",
Expand Down

0 comments on commit 8d629cf

Please sign in to comment.