OAuth 2 / OpenID Connect for JavaScript Runtimes
MIT License
Bot releases are hidden (Show)
Published by panva over 1 year ago
This release was merely to test release automation. NPM releases now include provenance statements.
// client's local clock is mistakenly 1 hour in the past
const client: oauth.Client = {
client_id: 'abc4ba37-4ab8-49b5-99d4-9441ba35d428',
// ... other metadata
[oauth.clockSkew]: +(60 * 60),
}
// client's local clock is mistakenly 1 hour in the future
const client: oauth.Client = {
client_id: 'abc4ba37-4ab8-49b5-99d4-9441ba35d428',
// ... other metadata
[oauth.clockSkew]: -(60 * 60),
}
// Tolerate 30 seconds clock skew when validating JWT claims like `exp` or `nbf`.
const client: oauth.Client = {
client_id: 'abc4ba37-4ab8-49b5-99d4-9441ba35d428',
// ... other metadata
[oauth.clockTolerance]: 30,
}
processAuthorizationCodeOpenIDResponse
to validate the issuer instead of checking the ID Token's signature. The function's options
argument was removed.processDeviceCodeResponse
to validate the issuer instead of checking the optional ID Token's signature. The function's options
argument was removed.processIntrospectionResponse
to validate the issuer instead of checking the optional JWT Introspection Response signature. The function's options
argument was removed.processRefreshTokenResponse
to validate the issuer instead of checking the optional ID Token's signature. The function's options
argument was removed.processUserInfoResponse
to validate the issuer instead of checking the optional JWT UserInfo Response signature. The function's options
argument was removed.dpop_jkt
to the authorization request.calculateJwkThumbprint
function export.jwksRequest
function export.processJwksResponse
function export.This release
@panva/oauth4webapi
to just oauth4webapi
doauth
to oauth4webapi
Otherwise this release contains only code refactoring and documentation updates.
NB: @panva/oauth4webapi
had last npm version released and it now simply re-exports oauth4webapi
to allow existing consumers to obtain updates within the ^1.2.1 semver range.