Ionic 5 Capacitor with Microsoft SSO - ionic-framework

I am trying to implement Microsoft SSO with Ionic 5 but am having no luck. I have tried using #azure/msal-angular #azure/msal-browser method but this seems to only work in web. Has anyone tried to implement this recently?
Here is the error I'm getting in XCODE
[error] - Big ERROR OCCURED! {​​​​​​​​"errorCode":"popup_window_error","errorMessage":"Error opening popup window. This can happen if you are using IE or if popups are blocked in the browser. Details: BrowserAuthError: empty_window_error: window.open returned null or undefined window object.","subError":"","name":"BrowserAuthError"}​​​​​​​​

Related

Fatal Error when adding Custom Tab on Facebook Page

With Facebook SDK V5, I'm trying to develop a php script who list all my pages where I'm admin. Then the goal is to add a Custom Tab on the selected Facebook page.
The first part works well but when I'm trying to add the Custom Page, I have a Fatal Error.
I want to clarify that I already develop this king of script with SDK V4 (who works well). So my 2 facebook apps are well configured (manage_pages is ok for install and Secure URL of the Page tab is complete).
This is the lines of code who generate the Fatal Error:
$addTab = $fb->post('/' . $page['id'] . '/tabs', array('app_id' => 'myappid'), $page['access_token']);
$addTab = $addTab->getGraphNode()->asArray();
print_r($addTab);
The contents of $page['id'] and $page['access_token'] are OK. When I test the Acccess Token, it's also ok.
When I execute the script and try to add the custom tab, I have this message:
Fatal error: Uncaught exception 'Facebook\Exceptions\FacebookAuthenticationException' with message '(#33) This object does not exist or does not support this action' in /home/web/...
I don't understand the problem, so any help is welcome and will be of great help to me. Thank you!

Getting Error after integrating facebook sdk in windows phone 8

I Have integrated facebook sdk in my windows phone 8 app and used facebook controls after downloading from NuGet.
However when I navigate to that facebook page, I get a "TargetInvocationException" and goes to Application Unhandled method where the debugger breaks, and the app crashes.
This is the exception: "An unhandled exception of type 'System.Reflection.TargetInvocationException' occurred in System.Windows.ni.dll"
Do I need to do anything else after downloading refrences from NuGet?.
This exception is thrown by methods invoked through reflection, but without knowing more about you implementation it will be hard for anyone to help and advise.
Are you able to provide more information, in particular code snippets and details of the inner exception?

facebook connect pluggin in cakephp

I am using "webtechnick CakePHP-Facebook-Plugin" for my site for login and authentication. My site is in cakephp. I have placed the plugin in proper folder as guided in the video. But when I am running my site I am getting the error:
Fatal error: Call to undefined method Facebook::login() in
/home/depasser/public_html/var/www/html/fb_app/app/views/elements/login.ctp on line 12
I have tried a lot to solve this issue but haven't succeeded. Can anyone guide me how I can solve this issue?
Is the helper in your controller for this view, if the 'Facebook.Facebook' helper is not there it wont work.

Request Dialog CRASHED?

Recently, Facebook has updated the component "request dialog" assigning responsibility to the exclusion of requests to the developers (http://developers.facebook.com/docs/reference/dialogs/requests#deleting). He also made other adjustments to the format of the request id. Thus added configuration option "request 2.0 efficient" on menu of the application developer.
The problem started after this change , the component "request dialog Multi - Friend- Selector" is in serious trouble. The component is crashed while trying to load friends. Sometimes friends loads, but the component does not resize height.
See the image of the errors:
Crashed before load friends:
http://postimage.org/image/glk2mf3bb/
Resize fail
http://postimage.org/image/iobduhn41/
In chrome browser component generates the following error:
s-static.ak.facebook.com/rsrc.php/v1/yS/r/syXGEAW5WYH.js:36 Uncaught TypeError: Cannot read property 'origin' of undefined
In firefox generates following error:
Erro: Permission denied to access property 'DocRPC'Arquivo-fonte: https://s-static.ak.facebook.com/rsrc.php/v1/yS/r/syXGEAW5WYH.js Linha: 36
Can you reproduce the error with the code itself Documentation
http://developers.facebook.com/docs/reference/dialogs/requests
Help please.
Seeing same errors here, but I can add some info:
It does seem to work if you use the basic example in https://developers.facebook.com/docs/reference/dialogs/requests, which opens up the dialog in a new browser window.
In Chrome, I found an additional error message to the one you posted:
"Unsafe JavaScript attempt to access frame with URL [...] from frame with URL [...]facebook.com/dialog/apprequests. Domains, protocols and ports must match."
From all that I guess the error may be related to the dialog display mode (read https://developers.facebook.com/docs/reference/dialogs). Within my app, I am getting this error exactly as you do, unless I set display to something like 'popup', in which case everything works (but a new borwser window is opened). The docs do state that "Because of the risk of clickjacking, [iframe] is only allowed for some certain dialogs, and requires you to pass a valid access_token." Well, passing access tokens did no good for me.
Little question: are you using some toolkit like GWT?

Error with AsyncFileUpload in DotNetNuke

Has anyone succeeded in using AsyncFileUpload in DotNetNuke? Although the module is marked as "allow partial render", I get two errors in web page, as alerts:
Unhandled exception: Access is denied
and
Unhandled exception: the requested file uploading problem
How can I solve it? The classical input type="file" is not working with ASP.NET AJAX.
I believe classic input type=file does not work within an AJAX UpdatePanel as the file does not get posted to the server. You can get around this by using a PostBackTrigger (http://www.codeproject.com/KB/ajax/simpleajaxupload.aspx).
I'm afraid I'm not sure about why it won't work in DNN.