it is September 2010 and I am trying to update Facebook connect integration on our website.
I need to validate auth cookie that was set by Facebook code. I was following PHP sample from http://developers.facebook.com/docs/guides/web
please check the C# code:
public static Dictionary<string, string> ParseCookie(HttpCookie fbCookie)...
Hello,
I've implemented a LoginModule to perform some custom authentication, and call the authentication using the login() method of the LoginContext class. The login module's login() and commit() methods are called successfully, but instead of being able to use the web app I am being sent back to the login page immediately. request.g...
Is it possible to integrate Disqus with my existing authentication solution?
I am developing a app using RoR and authologic!
...
I'd like to build an iOS app which lets you log in to a web service.
After that, the app would (when the user chooses) send the login name/pass, together with the requested variable(s), over https. For instance after requesting 'news-update', it would receive the requested info in XML format... something like:
<news-update>
<title>K...
Hi all,
I'm using CodeIgniter (v1.7.2) and I've created a custom controller that incorporates authentication called MY_Controller (based on David Winter's blog post). When I load any controllers that use this base class, I get this error;
*Message: Undefined property: MY_Controller::$session*
Note that I am autoloading 'session' ...
I have a use case where a UIWebView may need to connect with a web server secured with NTLM. I also have a use case where I already have the credentials to be passed. So instead of forcing the user to enter them, how do I perform the handshake with the UIWebView?
UPDATE:
Using this method here works well enough when you are doing sim...
My Mercurial server requires https authentication for pulls. How can I cache my authentication information on the client without exposing a plain-text password on disk?
I'm looking for something like http://stackoverflow.com/questions/2799460/using-sudo-with-mercurial-and-ssh-authentication but for HTTPS.
...
Hi all, I need to deny all access to any controller if they do not login.
I do not want to do this for each entry:
[Authorize]
public ActionResult AnyMethod() {
...
}
I try something like that but this was denied access to everything (css, js, ...).
<authorization>
<deny users="?"/>
</authorization>
In the Web.config I have on...
When a user log into my asp.net site I use the following code:
FormsAuthentication.RedirectFromLoginPage(userid, false);
As I often need to use the userid I can then later get the userid by:
string userid = System.Web.HttpContext.Current.User.Identity.Name;
Now I also want to show the logged in username on each page and my question...
I would like to display the image from a network camera on my web page, but the image is behind a HTTP basic authentication server.
In Firefox and Chrome I can do this:
<img width="320" height="200" src="http://username:password@server/Path" />
But in Internet Explorer 8, I get an empty image box. If I use JQuery to set the src attr...
Hi
I have implemented three legged auth to gmail using the Zend framework. I am wondering what the best way of finding emails once authenticated is (for example by a mix of title regex, sender, date range) - which is efficient?
Thanks!
...
I have an existing asp.net mvc website that uses basic forms authentication. The site has a login page that posts back to a login action, which logs the user in via FormsAuthentication.SetAuthCookie(). I am looking to add an api to the site, as an mvc2 area, where users would be authenticated based on a token passed as an http header. ...
according to the twitter api documentation
http://dev.twitter.com/doc/get/statuses/user_timeline
accessing the current logged in users timeline does not require auth. But i'm getting a basic auth not supported response and a 401 when I debug in javascript.
anybody have experience getting the current users info?
http://api.twitter.com...
Hi, I am trying to develop an iPad application for enterprise deployment. The application needs to access some of the data whose access is currently controlled by NTLM authentication. I am looking at options to authenticate the user from the native application and access the rest of the system. Anybody pointers will be helpful.
...
Hello,
I created WebService using JAXWS. Glassfish generated wsdl, and whole webservice is published under http://localhost:8081/mycompanyApi/api?wsdl
How can I add some additional parameter to this url like http://localhost:8081/mycompanyApi/api?wsdl&hash=asdfa.
I'd like to do the authorization by 'hash' parameter.
...
I have an authenticated user with an HTTP session.
The user should be able to use an applet to connect with this authentication to a server. It will connect to server via a socket connection so looking up the session is not possible.
How can the authentication be passed?
...
Hi,
I want to bypass the login form for a Spring webflow (Spring 2.0.5) application under certain scenarios (so the login form is presented for normal users but when the URL is like http://server.com/myspringapp/fakelogin?username=FakeUser&password=FakePassword then the user should not be presented the login form but just authentica...
In my previous question here i was experiencing difficulties with Authenticating webservices. With the use of the WcfRestContrib library which i found here i was able to solve this issue. I build a small testapplication and the authentication works like a charm.
But while i'm implementing this in the webapplication where i want to use t...
I am using an ASP Login control to authenticate users, however even if the user doesn't check the 'Remember Me' check box the user will not be forgotten, even if they close their browser, shutdown their PC and open it up again.
Authentication is:
<authentication mode="Forms">
<forms name=".ASPXFORMSAUTH" loginUrl="~/Default.aspx" tim...
The code fails to "Upgrade to Access Token" but fully matches the AOuth Playground requests.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
using System.Security.Cryptography;
using System.Net;
namespace TestGAOuth
{
class Program
{
const string OAuthGetReq...