Skip to content

While sign up it is causing double token api call #123

@pc2404

Description

@pc2404

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.
Screenshot 2024-02-19 at 5 16 25 PM

Could you tell how can we resolve that.

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions