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",
|
||||
"version": "1.0.4",
|
||||
"version": "1.0.5",
|
||||
"description": "OAuth2.0 Provider for Icy Network",
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
|
@ -211,7 +211,6 @@ export const authorization = wrap(async (req, res) => {
|
||||
user,
|
||||
client,
|
||||
scope,
|
||||
redirectUri,
|
||||
req.query.nonce as string | undefined
|
||||
);
|
||||
|
||||
|
@ -120,7 +120,6 @@ export async function authorizationCode(
|
||||
user,
|
||||
client,
|
||||
cleanScope,
|
||||
undefined,
|
||||
code.nonce
|
||||
);
|
||||
} catch (err) {
|
||||
|
@ -330,7 +330,6 @@ export interface JWTAdapter {
|
||||
user: OAuth2User,
|
||||
client: OAuth2Client,
|
||||
scope: string[],
|
||||
redirectUri?: string,
|
||||
nonce?: string
|
||||
) => Promise<string>;
|
||||
}
|
||||
|
Reference in New Issue
Block a user