We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a5707e commit 2bb321bCopy full SHA for 2bb321b
packages/react/src/contexts/Asgardeo/AsgardeoProvider.tsx
@@ -344,6 +344,12 @@ const AsgardeoProvider: FC<PropsWithChildren<AsgardeoProviderProps>> = ({
344
345
// Auto-fetch branding when initialized and configured
346
useEffect(() => {
347
+ // TEMPORARY: Asgardeo V2 platform does not support branding preference yet.
348
+ // Tracker: https://github.com/asgardeo/javascript/issues/212
349
+ if (config.platform !== Platform.AsgardeoV2) {
350
+ return;
351
+ }
352
+
353
// Enable branding by default or when explicitly enabled
354
const shouldFetchBranding = preferences?.theme?.inheritFromBranding !== false;
355
0 commit comments