mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix(core): Fix using secrets for credentials on oauth callback (#14711)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <netroy@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
3641c1fb87
commit
09806c36ae
@@ -64,7 +64,7 @@ describe('OAuth2CredentialController', () => {
|
||||
jest.setSystemTime(new Date(timestamp));
|
||||
jest.clearAllMocks();
|
||||
|
||||
credentialsHelper.applyDefaultsAndOverwrites.mockReturnValue({
|
||||
credentialsHelper.applyDefaultsAndOverwrites.mockResolvedValue({
|
||||
clientId: 'test-client-id',
|
||||
clientSecret: 'oauth-secret',
|
||||
authUrl: 'https://example.domain/o/oauth2/v2/auth',
|
||||
|
||||
Reference in New Issue
Block a user