Socket
Book a DemoInstallSign in
Socket

passport-jupp

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

passport-jupp

JUPP authentication strategy for Passport.

latest
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

JUPP Strategy for Passport

Development URL Parameters

These are the URL parameters going outbound to the authentication widget/interstitial page.

v=0

Version 0.

callbackURL=https://*

The URL to which a user will be returned after an authorisation attempt. Passport will verify the user at this point.

Authenticator tools will extract the domain from callback URL.

require=*

The required data fields seperated by the '+' character.

reason=*

The authentication reasons seperated by the '+' character. If a reason is not specified the authorisation must fail.

channelKey=*

The end-service ephemeral public key of this authorisation. This value key should be unique per authorisation request and as such can be utilised as a session identity in URL only authentication.

Note: the default algorithm used for an end-to-end channel is secp256k1.

Notes on URL Parameters:

(urgent, but future, work)

There is no signature mechanism to verify the integrity of a URL but a number of options exist.

Encoding requests as JWT outbound to authenticators would bring easy library support.

Any strategy would require that requests are signed with a administrator verifiable signature e.g. through a DNS TXT record self published public key.

Keywords

passport

FAQs

Package last updated on 12 Jul 2019

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