Skip to content

Commit 90b28e7

Browse files
authored
Remove EAR override (#7664)
Removes EAR protocol override that snuck back in in the last EAR PR
1 parent 75cbe3c commit 90b28e7

File tree

2 files changed

+7
-12
lines changed

2 files changed

+7
-12
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "remove EAR override",
4+
"packageName": "@azure/msal-browser",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}

lib/msal-browser/src/config/Configuration.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -402,17 +402,5 @@ export function buildConfiguration(
402402
telemetry: { ...DEFAULT_TELEMETRY_OPTIONS, ...userInputTelemetry },
403403
};
404404

405-
/**
406-
* Temporarily disable EAR until implementation is complete
407-
* TODO: Remove this
408-
*/
409-
if (overlayedConfig.auth.protocolMode === ProtocolMode.EAR) {
410-
const logger = new Logger(providedSystemOptions.loggerOptions);
411-
logger.warning(
412-
"EAR Protocol Mode is not yet supported. Overriding to use PKCE auth"
413-
);
414-
overlayedConfig.auth.protocolMode = ProtocolMode.AAD;
415-
}
416-
417405
return overlayedConfig;
418406
}

0 commit comments

Comments
 (0)