troubleshooting oauth authentication failure

jonathon 31 Reputation points


we're developing a web application, and are hoping to add microsoft oauth/ad authentication to it. we're using the firebaseui library.

this looks to work, the microsoft login prompt appears (see here):


however, when i select 'Accept', the loading "ants" start running along the top, but nothing happens. if i look at the network requests in the browser dev tools, no http request is made after clicking 'Accept' (other than the requesting of the ants gif), and the page just sits there, looking like its loading ... but doing nothing. there's no error reported at the console.

if i scroll down the bottom, there's three dots i can click, and it gives me some "troubleshooting details". these details aren't really helpful, but there is an option to 'Flag sign-in errors for review' it says:

If you plan on getting help for this problem, enable flagging and try to reproduce the error within 20 minutes. Flagged events make diagnostics available and are raised to admin attention.

i've enabled the flagging, and reproduced the issue, but i don't know where the diagnostics are made available, and as the admin, they don't seem to be raised to my attention anywhere.

any tips on where i can look to try and fix this?

with thanks

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,094 questions
0 comments No comments
{count} votes

Accepted answer
  1. Shweta Mathur 28,771 Reputation points Microsoft Employee

    Hi @jonathon ,

    Thanks for reaching out.

    I understand that you are not able to proceed to consent the application and its keep on loading.

    I tried to run the application you provided and getting the same issue. I inspected the page and found the error below


    due to which it is not allowing to submit the consent form and giving error while submit the form in your application (KnockoutExtenstion.js) file.

    This error usually come in the applications where pop-ups or any other navigation actions is blocked by a sandbox. You need to set iFrame to allow these actions in your application.

    I copied the URL which keep on loading in new tab and able to consent the application successfully.

    Hope this will help.



    Please remember to "Accept Answer" if answer helped you.

0 additional answers

Sort by: Most helpful