no need for redirect uri in jwt issue
This commit is contained in:
parent
2a7fd4690b
commit
20c0771bf0
@ -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",
|
||||||
|
@ -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
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -120,7 +120,6 @@ export async function authorizationCode(
|
|||||||
user,
|
user,
|
||||||
client,
|
client,
|
||||||
cleanScope,
|
cleanScope,
|
||||||
undefined,
|
|
||||||
code.nonce
|
code.nonce
|
||||||
);
|
);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
@ -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>;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user