File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
src/atlclients/responseHandlers Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ import { Logger } from '../../logger';
5
5
import { ResponseHandler } from './ResponseHandler' ;
6
6
import { Strategy } from '../strategy' ;
7
7
import { Tokens } from '../tokens' ;
8
- import { getProxyHostAndPort } from '@atlassianlabs/pi-client-common' ;
9
8
10
9
export class JiraPKCEResponseHandler extends ResponseHandler {
11
10
constructor (
@@ -18,13 +17,6 @@ export class JiraPKCEResponseHandler extends ResponseHandler {
18
17
19
18
async tokens ( code : string ) : Promise < Tokens > {
20
19
try {
21
- const [ proxyHost , proxyPort ] = getProxyHostAndPort ( ) ;
22
- if ( proxyHost . trim ( ) !== '' ) {
23
- Logger . debug ( `using proxy: ${ proxyHost } :${ proxyPort } ` ) ;
24
- } else {
25
- Logger . debug ( `no proxy configured in environment` ) ;
26
- }
27
-
28
20
const tokenResponse = await this . axios ( this . strategy . tokenUrl ( ) , {
29
21
method : 'POST' ,
30
22
headers : {
You can’t perform that action at this time.
0 commit comments