diff --git a/blocks/identity-block/components/social-sign-on/_children/AppleSignIn.jsx b/blocks/identity-block/components/social-sign-on/_children/AppleSignIn.jsx index 7e5742aad..90f3cbd6f 100644 --- a/blocks/identity-block/components/social-sign-on/_children/AppleSignIn.jsx +++ b/blocks/identity-block/components/social-sign-on/_children/AppleSignIn.jsx @@ -9,7 +9,7 @@ function AppleSignIn({ customButtons, socialSignOnIn, className, oidcClients = [ const phrases = usePhrases(); const { Identity } = useIdentity(); - const appleOIDCClient = oidcClients.find((oidcClient) => { + const appleOIDCClient = oidcClients && oidcClients.find((oidcClient) => { const parsedClientId = oidcClient.clientId.split(';')[0]; return oidcClient.protocol === 'Apple' && parsedClientId === appleClientId;