Community Questions & Answers
Facebook iOS6 built-in module - Login fail
Hi, I want to use iOS6 built-in Facebook module to log in Facebook users. My code is pretty simple but I always have either success false for login request using authorize method and "login" event or either I have a HTTP status code 400 on...
xAuth, Appcelerator and Tumblr
Ok gang, I have been searching the interwebz up and down trying to find a solid solution for xAuth and Appcelerator that isn't hyper-specific to Twitter. I want to use Tumblr as the example as it is a very nice blogging platform with limited apps in the...
how to use instagram inside my app?
Hi I want to authenticate an user on instagram like we can do with facebook module of titanium. I want to log in and them add a friend There's possible? I'm using version 3.1.0 GA and want to deploy to Android and iOS Thanks
OpenID Authentication
Hi, it is possible to authenticate an OpenID with titanium? Thanks for any help :)
Using Basic Authentication in WebView will never load the page
Hi, I'm trying to show a web page which requires basic authentication. For some reason using: ~~~ var webView = Ti.UI.createWebView(); webView.setBasicAuthentication(username,password); webView.url = 'http://myurl'; ~~~ never shows the final page. the...
Using X.509 client certificate as method of user authentication ?
Hello, is there any way to use Titanium.Network.HTTPClient or another known module, Tiitanium API, etc. to open a SSL connection to a server and authenticate the user via a X.509 client certificate ? My question relates to Titanium SDK 3.1 since there...
Using Janrain Engage as authentication mechanism
Hi, we're starting a few apps on Titanium shortly. Currently, we use Janrain as an authentication mechanism on our site. Is there a way to get Janrain authentication working on Titanium? Thanks, Paul
HttpClient connection with X.509 certificate authentication over SSL
Hi all, I need to access some HTTPS services that request the user to authenticate with a valid X.509 certificate. iPhone SDK in Objective-C allows to select a certificate to authenticate HTTPs connections, but I am wondering if this can be done also...
Alloy REST Authentication and Using Tokens within the Header Object
Hi all- I have a question. I have setup a system where I am extending my models to make REST queries/saves/etc using the new Alloy framework. Is there a method, or example available that would help me with the following scenario: On authentication, I...
user authentication
Hi! I have a little dilemma concerning to user authentication in application. Basically (I am talking about login) after correct authentication on the server side I am saving information to keyChain (userID etc...) because I need to remember last logged...
Proper way to implement API connection to Webserver...
My app currently opens an "createHTTPClient" connection to my server. In order to try to secure the page from been accessed directly, I have my app send two 64 character strings via form post to the php page on the server. Then, on the server...
Basic Authentication with createHTTPClient – no response
I have to load ressources (text) from a secured directory. So I set the request headers of the client accordingly, but to no avail. Unfortunately, not even the `onerror` callback is called, I simply get no response whatsoever. Here is my code: ~~~ var...
Facebook authentication causes application failure on android.
Hi, In my application I am using facebook authentication. When I click on button for authentication it causes forced close my application.This happen irregularly. My log records showing me error like `java.lang.NullPointerException` . My code looks...
Implementing Login with JSON API
I hope someone will help me. I have an API which is implemented with JSON web-services. I want to implement Login. A user is created and I need to have login the user. That is when I enter username and password it must log the user in . I have read the...
How to use accessToken to upload image
Hi, I am trying to authenticate the user and for that I have...
Send XML Data to webservice
Hi guys, i have wrote a function in jquery and would like to use it with titanium. I studdied the httpclient api but havn't no luck. Can someone help me ? ~~~ var dataString =...
How do I use the much nicer/easier native Twitter authentication that's build into iOS 5?
Since iOS5, there's been a way to trigger cached Twitter credentials on your iPhone so that logging in just has an "OK" button rather than needing to sign into Twitter. It'll ask "[App] would like access to twitter accounts" with...
How to authenticate with Facebook and write info into ACS
After searching, asking and many trial and error attempts I found a way to authenticate users using Facebook, and then entering their FB user data (email address and name) into the Appcelerator's Cloud Service. Why am I posting it here in questions? 1)...
getting the signed request from facebook authentication
Hi Guys I am writing the mobile app for a web service where I am leveraging their existing backend URLs. As part of this service they use facebook for authentication. The backend URL expects both the FB access token, which I get using...
Digest Authentication With RequestHeader
I am working on project that Require DIGEST AUTHENTICATION with RequestHeader for login. I tried 3 days but not get success. If anyone have code for that then please share it. if you have any code that uses DIGEST AUTHENTICATION then please share it so...
Client certificate access within app
I'm trying to realize an app containing a webView which access a server via https that requires a client certificate. I've installed the client certificate in the iOS profiles and i tested the authentication process using Safari and it works. Building my...
NTLM Athentication problem on Android
I've noticed that Android native browsers are not supporting NTLM Authentication [according to this]...
New basecamp oAuth2 implementation
I'm trying to implement the oAuth api for the new Basecamp. I tried using the basic Auth approach but the API docs state the following: 'Never ask a user of your application for their username or password!' I do not know where to begin, I have tried this...
Twitter Status Update
I have tried to use the following code: ~~~ var url = "https://username:password@twitter.com/statuses/update.json"; var xhr = Titanium.Network.createHTTPClient(); xhr.onload = function() { // Handle...
xhr authentication with RESTful API
I'm trying to get the XML from my rails web application. However, it requires HTTP authentication (devise) before the user can retrieve the XML. How do I use xhr to login? I...
SOAP Authentication
Hi all, I checked soap usage in kitchen sink. But My web service requires authentication. How can I add authentication to soap invoke?
Appcelerator Cloud Services (ACS) - MD5 password length limitation
Hey all, when creating a new user i'm password the password string the the md5 functions. but then i get an error about the password being too long. how do you fix it? should i just pass a plain text? thanks!
XHR Basic Authentication with umlauts
Hi all, we have a problem... we are using a webservice call with the xhr, but, when setting the credentials with basic authentication we can't authenticate a user, when he has umlauts (e.g. ä, ö, ü) in the pass. The webservice is running on an IIS...
openURL and RequestHeaders
I need to be able to open URLs that require authentication, however, the user has already authenticated with the mobile app. Currently, opening the URL takes them to the web login page of our system asking them to authenticate again. Is it possible to...
Network Connection HELP Needed
For my app I should check if the network connection status is "Online". I check it with HttpClient. But sometimes there is network connection available but it requires authentication, so it is redirected to the authentication page. How could I...
Friends ACS [beta module] requests always give out error for the user who is already logged in.
Hi, I am using the Friends ACS module [currently a beta version] and wondering if I hit on Titanium's bug or my own. Here is the scenario I ran into: a). Start the App in the Simulator, login by its user authentication process: Cloud.Users.login() b.)...
Securely serving key files for http live streaming?
[securely serving key files from developer.apple.com](http://developer.apple.com/library/ios/#qa/qa1661/_index.html) I am trying to securely serve the key files and need to set up authentication. Does Appcelerator have a way to pass Client Certificate...
HTTP authentication and JSON response
I have a rails app using Devise with HTTP authentication. I want to authenticate the user from the mobile app and then send/receive JSON data between my rails web app and the mobile app. If I use cURL and use the following code: ~~~ curl -H...
Getting started with ACS
I'm trying the ACS and thought it would be a breeze - but the samples I found does not work - so I'm somewhat stumped....hopefully someone can help me. I pressed the "Enable Cloud Services" button in Titanium Studio, and got the two keys...
how to clear facebook api cache?
Titanium mobile api 1.8.2 iphone sdk : 4.3 Hi, I ran a clean build and facebook api still remembers previous login details, thereby bypassing the authentication dialog. How can I keep facebook to always show the login dialog everytime an I click the...
How to perform NTLM authentication between a Desktop Titanium app and a REST service
Within a Titanium Desktop app, I would like to reuse existing REST services hosted in an ASP.NET app requiring Windows (NTLM) Authentication. If review the jQuery Ajax calls issued by WebKit through Fiddler (HTTP Proxy debugging tool), I see that the...
NTLM support for Network.createHTTPClient()?
Hello all, I'm attempting to make a request to a REST based service that is protected by NTLM authentication. Does Network.CreateHTTPClient() support NTLM authentication? I looked at the kitchen sink code and it has an example for Basic Auth (using...
Digest authentication
Anyone done digets authentication with httpClient successfully? How would you construct the call?
DIGEST Authentication - EXPERTS PLEASE READ
I am having an issue trying to get DIGEST authentication working or figured out. I notice there are several posts related to DIGEST but NONE with ANY answer. If any of the key developers could please look into this it would be greatly appreciated and...
Additional Facebook permissions
Currently using iOS at the moment. Anyone have any take on the best method for requesting additional fb permissions. Currently I use the new auth dialog and track which permissions a user authorises and then if I get an oAuth error when performing a graph...
We need help with user authentication via Drupal Services.
We're looking for (paid) help allowing users to create a Drupal account - or log in to their existing Drupal account - from our Titanium app. On the Drupal side, we're using the Services module. If anyone is available, please get in touch with us. (And,...
User Authentication Security
I would like to add some form of user authentication to an app, and was reading this tutorial: http://mobile.tutsplus.com/tutorials/appcelerator/titanium-user-authentication-part-2/ All of it seems to make sense, but my concern would be related to SQL...
Show/hide tab if user is authenticated
Quick question on how I could go about showing/hiding a tab within my app based on whether or not the user has been authenticated through an in-app login form. Here's a stripped down version of my code. I'm having problems with dynamically adding Tab2 to...
User sessions / need to implement 'Remember me' functionality
Hi fellow Appcelerators, I am trying to implement user session functionality into my app, but am struggling with getting this to function as I would like it to. I have a basic table (login form), which a user can type in their 'username' and 'password'. I...
Is there anyway to access Android's AccountManager?
I'm trying to OAuth authenticate using a user's existing Google Account on an Android Titanium Mobile app. I'd like to make it seamless as possible by using [Android's AccountManager...
Build an App with authentication "the right way"?
Hello, I am currently building one of my first apps, but my first authentication-app. Which means that the User has to be logged in to view and do stuff. Running latest 1.8 SDK with Studio and iPhone 5.0 The reason for this Q&A is that I want to know...
Can't connect to SSL / User Authenticated SOAP Service. Regular port 80 works fine.
Title says it all. I am connecting to a clients service, and they have it open on port 9- and 443. Connecting to the service on port 80 works fine, and my app is fine. However, trying to access it on 443 with https and passing the user/pass doesnt do...
open page that needs username and password
Hi, I'm trying to open a web page that needs an authentication through ~~~ Ti.Platform.openURL(rowdata.test) ~~~ but sadly the log in message box that allows the user to enter username and PWD didn't open and an error message appear " HTTP...
Corporate Firewall Blocks Titanium Traffic
Is there anything in the Titanium pipeline to address the login feature? I've read somewhere the port used is 9988. Why not use port 80, so traffic isn't blocked by firewalls?
OAuth_authentication
Hi, I am trying to create log in in my app throgh facebook,twiiter and other ids so trying to do this with the help of oath.js, sha1.js, and oauth_adapter.js but i am quite bit confused in how this files are used and where should i put them in my...
Showing 1-50 of 86 1 2