I am developing a mobile web application, some times it is showing that "the mobile version of the app is unavailable because it is misconfigured for mobile access". Why this is happening? I noticed that it is happening when user is logout form Fb and try to come back to the app it showing login form after login it showing the error.
Please help
I had this problem and what was seemed to be the issue was that if you just got redirected from Facebook to your app, and then instantly redirected back to apps.facebook.com/my-app/sub-uri then Facebook raises an error.
This is what I was doing and what I ended up doing:
I tried to authorize my app, authorization through redirect to Facebook and after authorizing the app redirected to my apps.facebook.com/my-namespace/next-step.
Visiting with a mobile device and redirecting back to Facebook, after Facebook just had redirected your user to the app, caused an error.
I then added a piece of mobile sniffing code and if the user was mobile it redirected internally to /next-step instead of going to apps.facebook.com.
Initial request flow for mobile:
my.domain.tld/authorize
-> graph.facebook.com/oauth/authorize
<- my.domain.tld/authorized
-> apps.facebok.com/my-app/next-step
error
Which I then changed to this if the user was mobile:
my.domain.tld/authorize
-> graph.facebook.com/oauth/authorize
<- my.domain.tld/authorized
-> my.domain.tld/next-step
All working fine
Check your's Native iOS or Android Apps Bundle ID in Facebook developer page
Related
I'm having issues openning link to my website that I share on facebook.
By default, any link users open from facebook mobile app are opened in the facebook embedded browser.
This browser causing issues to my app so I'm trying to redirect the users to their default mobile browser, but I don't know how.
I've tried many solutions, but none have worked, the closes one was trying to do:
window.location.href="mywebsiteurl", but this prompted message on facebook app that I'm trying to leaving the app, but after accepting would leave the page just idle.
I've created a Facebook firebase login using firebase hooks. It's working on PC/Laptop chrome and other browsers. But when I try to use any mobile browser, like chrome, operamini, uc browser, the facebook authentication page automatically closed and rejects login. How do I fix these issues?
Maximum browser has an options that is "Pop-ups and redirects" if we block this options sometimes Facebook authentication Won't work properly
We are having problem with ADAL redirect authentication in MS Team Desktop client recently.
We have a custom Teams app package (Team Tab) to display a page on our application server. The page uses ADAL JS library to get Graph token to access One Drive. Since the page is displayed in iframe and will be used in Teams desktop client, we use page redirect authentication in ADAL. From debug console, we can see the issue happened when ADAL sent request to “login.microsoftonline.com”(login_hint parameter is used to specify current user account). The flow stopped with error saying the “login.microsoftonline.com” can’t be displayed in iframe. In the past, “login.microsoftonline.com” simply redirected the browser to the specified redirect URL and auth flow completed without any problem.
Our application server has implemented SSO with Azure. Implicit auth flow is used to get the token. The issue only happens in Teams desktop client, we use ADAL popup (not supported in desktop client) to get token in browser. The flow was working before April. Seems to me that something has changed recently at the Microsoft login page.
Just wondering if anybody has the same issue. Any suggestions will be appreciated.
Have you looked at using Teams SSO, which uses MSAL, instead of ADAL? See here for a sample: https://github.com/pnp/teams-dev-samples/tree/master/samples/tab-sso
I am using the salesforce mobile sdk to develop an application in native IOS. I was doing some testing logging in as a user. All was fine. Then I logged out. When I logout I call the coordinator revoke authentication method. I then tried to login as a new user who had never logged into the device and I received the following error: "Receiving Remote Access Authorization Error there was a problem in setting up your remote access." I then selected the Not me link and it logged me out. However, when I tried to login again as the user that wasn't able to login it takes me to the salesforce website for that user?!!!! It did not take me to the application but to the salesforce website? Anyone know why first the error above occurs? Does it have to do with a possible token issue? Also why would I be driven to the salesforce website when I try to login as the user again?
Note: The salesforce login is in its own webview component. I had a button to force a logout no matter where I am in the app. When I force the logout and try to login as the person it then takes me to the application. Very confused in terms of what is going on in this scenario.
There is potentially a solution posted here, or at least some clues: seems to suggest a timing issue and refreshing the web view in applicationDidBecomeActive might fix it
https://developer.salesforce.com/forums/ForumsMain?id=906F00000009CBgIAM
Also more information here:
http://help.salesforce.com/apex/HTViewSolution?id=000175700&language=en_US
You might also try making sure that you have a Connected App properly set up under Setup/Create/Apps, and that the key and return URL match those hardcoded in your app.
I'm working on building an iPhone application and using Google AppEngine as the data storage. I also need to have the ability to use oAuth for my users, but I can't even get oAuth to work at this moment on AppEngine.
Successful Demo:
http://twitteroauth.appspot.com/
Code powering that demo:
http://github.com/tav/tweetapp/blob/master/standalone/twitter_oauth_handler.py
The problem is that when I run the script on my account with my Twitter application information, it goes through the process successfully, but nothing happens. It takes me to Twitter for the "allow or deny" page, but when I allow, it just reverts me back based on the callback URL without the page thinking I'm logged in.
Anyone have any ideas?
You mean the login page in twitter? If your question is about twitter not showing the login page then you are logged into twitter already. If your question is about twitter not showing allow or deny (authorization page) then you have already authorized the application. Twitter doesn't ask authorization question every time.