web page for authorization is too large in mobile - mobile

I'm a developer using REST API in mobile.
During I test log-in in the phone, I found that
the web page for authorization is too large in mobile.
Is there webpage for mobile in OneDrive to authorization?
If somebody know that, please, answer it.

http://msdn.microsoft.com/en-us/library/dn659750.aspx
I get solution from upper site.
add option "display=touch".

Related

Google Sign In within embedded browsers (Messenger, Instagram) not working.. Googles webview policy?

I have a Nextjs web app with Firebase Auth. I only allow my users to login with Google.
All my traffic is coming from social media apps which have an embedded browser. So on launch day I learned that signing in only works directly from a browser like chrome or safari but not within a webview within an application. This is a nightmare.
I tried switching from signInWithPopUp() to signInWithRedirect(), but still same issue.
error 403: disallowed_useragent
This app doesn't comply with Googles webview policy.
Has anyone encountered this problem?

LinkedIn oauth 2.0 (REST) with Ionic framework on Apple Device

I'm trying to retrieve a LinkedIn users profile information by authenticating them on my hybrid application.
I have tried to use the REST api, but I can not register a redirect URL on LinkedIn in order for this to work.
From:
https://developer.linkedin.com/documents/authentication
I used:
https://www.linkedin.com/uas/oauth2/authorization?response_type=code
&client_id=YOUR_API_KEY
&scope=r_basicprofile%20r_emailaddress
&state=STATE
&redirect_uri=YOUR_REDIRECT_URI
... but because applications on an iPhone get's installed with a unique URL, I cannot register it on LinkedIn as a redirect URL.
I also tried using the javascript API, but can not load the page dynamically for the button to appear and parse correctly.
From: https://developer.linkedin.com/documents/javascript-api-tutorial
Is there anyone that found a different solution to implement this on Ionic or any other Hybrid application?
Thanks in advance.
I'm currently working on the same thing and ran into similar issues. My approach is to use the InAppBrowser for the user login to LinkedIn and then grab the authcode from that response. Then, send the authcode to my node backend, where I issue a request with it and my client secret to get the access token.
Here are a few resources for oAuth with phonegap that I found very useful:
Using An Oauth 2.0 Service With IonicFramework
Ionic forums - OAuth Login
(would have left this as a comment, but can't due to my reputation)

Authenticating with App Engine in a Sencha mobile app

I have a web app running on app engine that uses google accounts for authentication (OAuth).
Now I'm trying to develop a mobile app using Sencha Touch and I'm stuck with how do I authenticate users with app engine. Loading the login page in the app looks ugly and opening login page in the device's browser is not so bad but I have no idea how to (if at all possible) to retrieve the cookie and store it in the app (so that they don't have to sign in everytime)
Ideally, I want to display a simple sencha form that asks for credentials and then checks that their valid with google. I still have no idea how to handle two factor authentication though.
I'm tempted to write my own authentication procedures and store user credentials manually on the datastore but I feel this shouldn't be that hard..
Has anyone been able to do this? Would openID provide an easier approach for authentication?
Check out Google App Engine Boilerplate. Their authentication flow is implemented pretty nicely (together with a bunch of other stuffs, like testing :D).
This should give you a head start. I am currently using it together with Sencha Touch
https://github.com/coto/gae-boilerplate

Google AppEngine with Silverlight client using Google Login

I'd like to use Google AppEngine with Silverlight client. I'm hoping to use the Google login authentication mechanism within the Silverlight client. Is this possible? Does anyone have any example sites where a RIA client used in conjunction with Google AppEngine security?
Thanks.
You need to have your users log in via a regular HTML page, then send them to the page with the silverlight client. Anything else would be encouraging users to enter their credentials into a third-party site, which is a Bad Idea.
I really don't believe that is true, meaning if you have an installed application Google has a login that allows you to enter username and pwd in your application. I believe silverlight is closer to windows application. Here is the login mechanism
http://code.google.com/apis/accounts/docs/AuthForInstalledApps.html

Google App Engine oAuth Issue

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.

Resources