apple sso login stops to work

  this.app.on('button:AppleSSO', async function () { 
            this.app.fire('UI:LOADING', true);
            this.signInSSOElement.enabled = false;

            console.log('start apple login');

            let redirectURI = 'https://account.ohhh-inc.com';
          

            AppleID.auth.init({ 
                clientId : 'com.ohhhinc.sso.service',
                scope : 'email',
                redirectURI : redirectURI,
                responseType: 'code',
                responseForm: 'formpost',
                state : Date.now().toString(),
                nonce : 'ohhh.incisaperfectdeveloper',
                usePopup : true
            });

            try {
                const data = await AppleID.auth.signIn();
                // Handle successful response
                console.log('Apple login successful:', data);
            } catch (error) {
                this.app.fire('UI:LOADING', false);
                // Handle error
                console.log('apple login error : ', error);
                this.app.fire("UI:Free");
                if(UserManagement.instance.mode == "Gallery") {
                    this.app.fire('MUSEUM:ToggleUI');
                    this.app.fire('UI:EnableHambMenu');
                }
                this.app.fire('enableUserButton');
                LoginCamille.instance.returnFireEvent = undefined;
                this.app.fire('login-int:close', { result: 'failed', msg: 'Apple login error.\nPlease try another SSO'});
            }

        }, this);

we are using javascript to initiate apple sso login. It doesn't work. with error. ccess to font at 'https://appleid.cdn-apple.com/appleauth/static/bin/cb3432457731/dist/assets/shared-icons.woff' from origin 'https://appleid.apple.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

I am not sure where I should change

Answered by suejunghuh in 797752022

Issue has been resolved. It was our mistake.

Accepted Answer

Issue has been resolved. It was our mistake.

apple sso login stops to work
 
 
Q