Skip to content

Commit

Permalink
fix: legacy auth issue by providing fusion client id
Browse files Browse the repository at this point in the history
  • Loading branch information
Noggling committed Oct 26, 2023
1 parent a3bbbb1 commit d39cf83
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ export function createPortalFramework(portalConfig: PortalConfig) {
return (config: FusionConfigurator) => {
config.logger.level = (portalConfig.logger?.level as LoggerLevel) || 0;

/** Legacy Fusion ClientId used in legacy auth provider */
(window as { clientId?: string }).clientId = portalConfig.serviceDiscovery.client.defaultScopes[0];

config.configureServiceDiscovery(portalConfig.serviceDiscovery);

enableAppModule(config, appConfigurator(portalConfig.portalClient.client));
Expand Down

0 comments on commit d39cf83

Please sign in to comment.