While sign up it is causing double token api call
In react application
<MicrosoftLogin clientId={appConfigData.MICROSOFT_CLIENT_ID} authCallback={handleMicrosoftLoginSuccess} tenantUrl={appConfigData.MICROSOFT_TENANT_URL} redirectUri={appConfigData.APPLE_REDIRECT_URI} withUserData={true} prompt='consent' > <MicrosoftLoginButton type="button" fontWeight="bold"> <span className="relative left-[5px]"> <LoginButtonImage src={MicrosoftIcon} alt="Microsoft Login" /> </span> <span className="relative left-[20px]"> {t('microsoft')} </span> </MicrosoftLoginButton> </MicrosoftLogin>
this is the configuration provided and while signing up it is causing the double token API call causing double authentication call.
Could you tell how can we resolve that.
I had the same problem when using version 2.0.1, I downgraded to version 1.12.1 and it worked fine, I just need to enable id_token in the application authentication section in Microsoft Entra ( Azure )
Please check that the version will have a login Issue, on mob maybe it will not work.
I have the same problem with double calls to the authentication API in version 2.0.1, I tried it in other versions and it works correctly in version 1.15.0.