mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 11:01:15 +00:00
fix(core): Improve the security on OAuth callback endpoints (#11593)
This commit is contained in:
committed by
GitHub
parent
c265d44841
commit
274fcf45d3
@@ -335,7 +335,7 @@ export declare namespace MFA {
|
||||
export declare namespace OAuthRequest {
|
||||
namespace OAuth1Credential {
|
||||
type Auth = AuthenticatedRequest<{}, {}, {}, { id: string }>;
|
||||
type Callback = AuthlessRequest<
|
||||
type Callback = AuthenticatedRequest<
|
||||
{},
|
||||
{},
|
||||
{},
|
||||
@@ -347,7 +347,7 @@ export declare namespace OAuthRequest {
|
||||
|
||||
namespace OAuth2Credential {
|
||||
type Auth = AuthenticatedRequest<{}, {}, {}, { id: string }>;
|
||||
type Callback = AuthlessRequest<{}, {}, {}, { code: string; state: string }>;
|
||||
type Callback = AuthenticatedRequest<{}, {}, {}, { code: string; state: string }>;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user