You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open the page in the browser and make sure that popups are blocked.
Note that the popup error from the browser appears in the console.
Note that Authentication error does not appear in the console.
Allow the popup.
Note that no success, error or complete message appears in the console.
In Firefox the popup will now open and complete the authentication, and show the application in the popup, while the main window remains broken. In Chrome allowing does not open the popup, but the user needs to reload the page.
A clear and concise description of what you expected to happen.
I would expect that either an error would be returned as soon as opening the popup fails (by opening the popup in a try ... catch), or that the user allowing the popup would result in a normal successful login flow.
I believe the code is simply lacking a try ... catch. I would propose adding that and returning an error in the case of the popup being blocked.
Application developers can then show an page that explains to the user that they need to allow popups in order for the application to function.
The text was updated successfully, but these errors were encountered:
Version
18.0.1
Please provide the exception or error you saw
However, when the user then allows the popup:
Steps to reproduce the behavior
Call
authorizeWithPopup
and log onnext
,error
andcomplete
:Authentication error
does not appear in the console.A clear and concise description of what you expected to happen.
I would expect that either an error would be returned as soon as opening the popup fails (by opening the popup in a try ... catch), or that the user allowing the popup would result in a normal successful login flow.
I believe the code is simply lacking a try ... catch. I would propose adding that and returning an error in the case of the popup being blocked.
Application developers can then show an page that explains to the user that they need to allow popups in order for the application to function.
The text was updated successfully, but these errors were encountered: