Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
pc2404 opened this issue Feb 19, 2024 · 2 comments
Open

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

pc2404 opened this issue Feb 19, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@pc2404
Copy link

pc2404 commented Feb 19, 2024

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.

@pc2404 pc2404 added the bug Something isn't working label Feb 19, 2024
@lgrimm6
Copy link

lgrimm6 commented Jul 19, 2024

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 )

@patilniranjan7
Copy link

Please check that the version will have a login Issue, on mob maybe it will not work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants