OAuth authorization with Flash and Flex apps
Below you will find links to my two video tutorials about OAuth authorization with Flash and Flex apps:
1) Introduction to OAuth for secure user and application authorization
2) OAuth in Adobe AIR applications built with Flash or Flex
You can also download example code from here.


I am trying to run the example code provided here in Flash Builder 4.0.1, but I get the message “Could not resolve to a component implementation. Main.mxml /oauth/src line 7″. Any ideas as to what might be wrong? I do not normally do any AIR development, just Flex; do I need to download some additional packages? Thanks!
Matthew
19 May 11 at 6:56 pm
I found the problem; I was trying to build against Flex 3.4. Switching to Flex 4.1 solved the problem.
Matthew
19 May 11 at 10:03 pm
Can you provide an example of oAuth for facebook on mobile using stageWebView?
mark mun
23 May 11 at 12:33 am
I thought your example was exciting. I have searched all over to determine how you can send parameters using the library. For example, to get the calendar events with out parameters responds well, but if I want to limit my request to start-min and start-max, I get ‘Unknown authorization header’ when passing the arguments into the request parameters portion of the OAuthRequest.
Have you done something like this in the past? And could you share your experience?
Rob Herman
23 Jun 11 at 6:52 pm
Where did you find the oauth-as3 swc file?
matt
17 Jul 11 at 11:45 pm
@matt I checked it out from SVN at Google Code and compiled as a Flex Library project.
p.
Piotr Walczyszyn
18 Jul 11 at 10:18 am
for flex mobile ios app, how do i specify the ‘AUTHORIZE_TOKEN_URL’ to callback my native app? is this possible?
smile
30 Jul 11 at 3:05 am
@smile you can use StageWebView embedded in your app or you can register custom url scheme that will return back to your app.
You can register custom url scheme with following xml snippet in iPhone section of your app.xml:
Piotr Walczyszyn
1 Aug 11 at 5:09 pm
[...] (Custom URL schemes are especially useful if you are doing OAuth authentication in your app and you want to redirect the user back to your application after the authorization in the browser – you can find out more about OAuth in AS3/Flex applications in my ADC tutorials.) [...]
Defining custom URL schemes for your AIR mobile applications at Space of Flex/AIR technologies
2 Aug 11 at 5:15 pm
The google code repository has no download link for oauth-as3, even using SVN fails! What’s happened to that project?
Mark HH
21 Sep 11 at 4:04 am
Somebody essentially help to make critically articles I would state. This is the very first time I frequented your website page and up to now? I amazed with the research you made to make this actual put up extraordinary. Great job!
url shortener
29 Oct 11 at 5:20 am