troubleshooting oauth authentication failure

jonathon 31 Reputation points
2022-04-05T00:40:54.16+00:00

hi,

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

https://cloud.jamovi.org

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

189908-screen-shot-2022-04-05-at-102936.png

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
    2022-04-05T16:52:45.35+00:00

    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

    190246-img1.png

    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.

    Thanks,
    Shweta

    --------------------------------------------------

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


0 additional answers

Sort by: Most helpful