Skip to content

Commit

Permalink
solving issue reported on ACS-32025
Browse files Browse the repository at this point in the history
  • Loading branch information
LauraPinilla committed Nov 7, 2024
1 parent 83600ee commit 351be1b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 351be1b

Please sign in to comment.