File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ class Connection extends EventEmitter {
125125 }
126126
127127 authentication = {
128- type : 'azure-active-directory-password ' ,
128+ type : 'azure-active-directory-access-token ' ,
129129 options : {
130130 token : options . token
131131 }
@@ -1892,7 +1892,7 @@ Connection.prototype.STATE = {
18921892 } ,
18931893 featureExtAck : function ( token ) {
18941894 const { authentication } = this . config ;
1895- if ( authentication . type === 'azure-active-directory-password' ) {
1895+ if ( authentication . type === 'azure-active-directory-password' || authentication . type === 'azure-active-directory-access-token' ) {
18961896 if ( token . fedAuth === undefined ) {
18971897 this . loginError = ConnectionError ( 'Did not receive Active Directory authentication acknowledgement' ) ;
18981898 this . loggedIn = false ;
You can’t perform that action at this time.
0 commit comments