no need for redirect uri in jwt issue

This commit is contained in:
Evert Prants 2022-09-16 18:01:58 +03:00
parent 2a7fd4690b
commit 20c0771bf0
Signed by: evert
GPG Key ID: 1688DA83D222D0B5
4 changed files with 1 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@icynet/oauth2-provider",
"version": "1.0.4",
"version": "1.0.5",
"description": "OAuth2.0 Provider for Icy Network",
"main": "dist/index.js",
"types": "dist/index.d.ts",

View File

@ -211,7 +211,6 @@ export const authorization = wrap(async (req, res) => {
user,
client,
scope,
redirectUri,
req.query.nonce as string | undefined
);

View File

@ -120,7 +120,6 @@ export async function authorizationCode(
user,
client,
cleanScope,
undefined,
code.nonce
);
} catch (err) {

View File

@ -330,7 +330,6 @@ export interface JWTAdapter {
user: OAuth2User,
client: OAuth2Client,
scope: string[],
redirectUri?: string,
nonce?: string
) => Promise<string>;
}