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", "name": "@icynet/oauth2-provider",
"version": "1.0.4", "version": "1.0.5",
"description": "OAuth2.0 Provider for Icy Network", "description": "OAuth2.0 Provider for Icy Network",
"main": "dist/index.js", "main": "dist/index.js",
"types": "dist/index.d.ts", "types": "dist/index.d.ts",

View File

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

View File

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

View File

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