how to auto login to another html page from flex - apache-flex

I have a flex application. From this application I want to navigate to another url which is a html page. To do that I can use navigateToURL() method. In the new url I have to login. I need to automate the login into the page. For example if I am in a flex app, then clicking on a button I should auto login to my gmail page in another tab. I have all the necessary credentials in the flex app itself Has anybody done that?

If you use OpenId you could have one login for many sites. You'd have to start with GMail, FBook or some provider like that and you could move to your Flex site. I don't know about going the other way around though.
More info:
openid
facebook login

Related

Prefill form elements and post

We have third party applications I need to link from my application. Where for those third part web sites I have user name and password with us (They are public websites). When the user click on those links we need to prefill user name and password and submit the form. Like single sign on kind of experience for the user. Is anyone tried doing this how we can do it. We need to open the web page with in Iframe or with in DEV ?
ASP.NET, Jquery and Java Script our platform.
I ended up getting the login page into my project and towards the end with jquery I posted the form filling the the user name and password. Not good solution but it works well

iframe for app for web users but responsive to mobile users?

I am building a Facebook web app, http://www.beerwhich.com, and currently have it set to display the app within the Facebook iframe.
That said, I was wondering if I can do one of two things:
Get rid of the iframe for phones viewing the web app, and specify mobile-specific styles to the app.
Keep the iframe but still detect if the user is viewing the web app on their phone, so I can specify mobile-specific styles
Any mobile/responsive web app advice for iframed apps would be very helpful!!
After you do the authentication you need to do, for example set a cookie with JS SDK, than you can redirect your app wherever you want, and use that cookie for info
Even if you do nothing, this will work by itself, to check this, you can right click any app and say "Open Frame in Another Tab" you will see that the application work out of Facebook too

ASP classic chat applet with logging

I've got a crappy legacy chat script running in an iFrame on a page. It shows the logged-in user and logs all the chat back and forth. Simple messaging only.
What options are there for something I can run without an iFrame within a page?
U can easily do it with Ajax (via jquery) ... here is a good example http://tutorialpot.com/2011/07/ajax-and-jquery-chat-system/

Default login popup for web sites

I am trying to build a web site with ASP.NET MVC, I'm new to this. My question is: how can I display the default login dialog? I am not referring to a custom dialog, like the jQuery Dialog, there is a default pop-up for credentials, which looks different depending on browser, same as with javascript alert(), but I don't know how to display it. To know what I mean, go to http://fit.c2.com/wiki.cgi?WelcomeVisitors, there is a Login button at the bottom of the page, when you click it a pop-up appears. That is what I want to display. Any ideas?
So there is no way I can do this with FormsAuthentication?
That dialog is the result of a challenge-response authentication initiated by the server.
In the context of IIS, you would get this if you used windows authentication with no anonymous access.
You do not display this dialog or have anything to do with it other than restricting access to the resource in question.

IFrame and Basic Authentication

I have a webpage which displays an IFrame. The IFrame source page is located on the other server which needs Basic Authentication. Is there a way to programatically pass the basic authentication information to the other server page so it does not throw the login box using Asp.net ?
As long as you don't mind exposing the password to everybody you can change URL to something like this:
http://user:password#www.example.com

Resources