Implementing Google Accounts' OpenID Like Stackoverflow?

Sep 17, 2010

Firstly, This question may be asked. But I could not get the information i am looking for.

I am creating a website which should take to [URL] where the user enters his account information and it redirect back to my website similar to how stack over flow is doing when we click on gmail image.

I am trying to implement a website in .net.

list a step by step procedure to implement it or suggest some documentation to follow.

I clearly dont want other types of openID implemention where u enter the open id and pick ur open id provider.

View 2 Replies


Similar Messages:

C# - Session Management And Linking User Accounts With OpenID

Mar 8, 2010

I am currently playing with DotNetOpenAuth to make an ASP.NET (C#) website use OpenID instead of the normal login-password routine for user and session handling. Up till now, I have added the DotNetOpenAuth.dll into my project and tried a test login page with the following: <rp:OpenIdLogin ID="OpenIdLogin1" runat="server" />

When I run the page, I enter a valid myopenid url and the website redirects to the myopenid page, where I enter my password, and upon success, it returns back to my default.aspx, due to the following in my web.config:

<authentication mode="Forms">
<forms defaultUrl="/Default.aspx" loginUrl="~/Login.aspx"/>
</authentication>

Now that the user is "logged in", how can handle my session? At the moment, I don't know how I can, for example, check if the session is still alive or how to terminate the session. My basic question is, how can I manage the session once the user is authenticated with OpenID ?

[Update]

I am now using the following to check for authentication: HttpContext.Current.User, and with that I can now check if a user is authenticated with a session. Now is there a possible way on how I can "link" user details that are stored in my database with an openid account?

View 1 Replies

Session Management After Implementing Openid?

Aug 16, 2010

i have implemented the the openid in my page using dotnet open id when i get authenticated iam storing the details provided by openid provider in my database and creating a session of that username and redirecting the user to login protected page it is working fine but some time if i left the page idle for some time and then do any kind of postback then the session is lost and my page do not allows me to do any thing as it is login protected some time it is working fine without any problem. can you suggest me why is it so.

View 1 Replies

C# - Implementing A Membership System Using OpenID?

Jan 26, 2011

I'm looking to implement a membership system using OpenID for my ASP.NET application, similar to the system used here on StackOverflow. I'm aware that the OpenAuth library is generally recognized as the way to go, but I'm having trouble figuring out how to implement it.

I use NHibernate to persist my domain objects. I have a Users table with a username column, email column, etc. I'm not sure how to integrate OpenID with my own users table, and I haven't found any good tutorials on this. Does anyone have any experience with this? What is the best way to go about doing it?

View 3 Replies

Implementing OpenId In Custom Application Where Users Are Created By Administrator Only?

Feb 16, 2011

In my asp.net application, users are created by the administrators & those users need to log-in into the system using their own email/password or openid. So what is the best option to implement in this scenario?

I mean, as users can't register them self,do administrator required to associate each openid with the users & what kind of table structure do I need?

And do I also need the log-in interface like that of [URL] showing multiple types of authentication(default & openid from various providers)?

View 1 Replies

DotNetOpenAuth And Google OpenId Parameters

Mar 16, 2011

I am still reading on using dotnetopenauth and google openid. In the google docs they mention some parameters that need to be passed like:

"openid.ns", "openid.claimed_id", "openid.identity", "openid.ax.type.email" etc ...

Does DotNetOpenAuth send all those params on its own seamlessly?

View 1 Replies

Want To Use Google Accounts In .NET Application

Mar 3, 2010

I need to use google accounts in my ASP.NET application.

View 2 Replies

Automate OpenID Login With A Google Apps Domain Using DotNetOpenAuth?

Sep 9, 2010

I am trying to implement OpenId for an internal web app. Our college is on Google Apps for Edu, so we have the suite of Google OpenID and OAuth exposed to us.

I would like my login page to have the standard username and password, and additionally a button on the side that will authenticate internal users to our app domain.

I have followed the example here [URL] but it seems that the rules are different for the google apps id than a general google id.

View 1 Replies

How To Provide Login Options Through Facebook/google Accounts

Sep 20, 2010

We are developing matrimonial website using ASP.net 2.0 with C#. we need to provide my site users login using facebook/google accounts. how can i do this.

View 1 Replies

Security :: Opening Google Accounts Passing Username / Password?

Jul 21, 2010

I have a Google Document in the following path.[URL] Once i click on the link i am directed to a page where google asks for the username/password of the above document.I had created a test username/password in gmail.which i can send to you all usgbctester@gmail.com and the password being usgbcpassword. I hav a button click event wherein i need to open the above link bypassing google asking for username and password.I should be able to hardcode the username and password in the button click event.

View 1 Replies

Security :: Implementing Sign In Using Google?

Apr 28, 2010

i want to implement sign in using Google feature so that users do not have to remember multiple passwords.

Are there any ready to use controls for this? Links to tutorials will also be helpful.

View 2 Replies

Web Forms :: Implementing A Search Similar To What Have In Google When Type In A Word?

Aug 23, 2010

I have a textbox and what I would like to implement is basically a situation similar to what you have in google when you type in a word. In otherwords,

in the textbox when you type in J, it should generate a list of names that starts with O in alphabetical order, then next when you type in o, so that now you have Jo, it should generate a list of names instead that now starts with Jo in alphabetical order, then again when you type in h, it should generate a list of names that starts with Joh and so on.

View 5 Replies

DataSource Controls :: Implementing "Google - Esque" Search Functionality In App

May 31, 2010

I've started some preliminary work on getting a Google-like search functionality into my app - ive never done anything like this before so i thought id be a good idea to run by what im thinking of doing at a high level

1) Using MS SQL 2008 w/ Full Text Search Enabled

2) ASP.NET MVC 2 app is using the Repository pattern, with Linq to SQL for data access I'd like for the user to put in one giant text search value, and the full text to do a search over multiple tables and return a mixed result (Employees, Organizations, Offices, etc)

3) I have a simple stored proc that does a Full Text Search on *one* table that looks like this:

[Code]....


4) My Linq to SQL datacontext calls this SP and which works well enough, i have no inflection or ranking going on but ill add that in later...

Q: How do i handle searching over *multiple* tables, doing some digging around it looks like Full-Text doesnt really allow for searches to span over more than one table - which kinda sucks..although ive seen some workarounds

Q: Is it ok to do a Full Text Search for every table i plan on searching through, and combining the results at the business layer (maybe using rank as sort)? I've heard of things like LUCENE but id really not like to do that at this time.

View 1 Replies

C# - Tags List In Stackoverflow?

May 17, 2010

am working on website in asp.net mvc. There is form where user is asked to put some information along with the Tags similar to stackoverflow. this tags information is saved in the same table in field Tags.Now I want to show them a help to select tags from the list (same as in stackoverflow).how can i extract it from the table. Wont it be too much to run the query again and againfor each letter they type, because I will be extracting unique tags from my table. Or should i have another table tagslookup where i should save unique tags.

View 1 Replies

Looking For Stackoverflow-esque Source Code?

Nov 24, 2010

I am aware Stackoverflow isn't open source, but i have seen a MIX video of phil haack creating a stackoverflow-like app called 'haackOverflow" .

PS : I'm looking for a app that is developed in ASP.NET MVC(with best practices). i have found music store, nerd dinner,and MS town hall app.

View 1 Replies

C# - StackOverflow Userpic Generation (Identicons)?

Dec 22, 2010

i an creating a website in C# ASP.NEt and want to use a feature similar to StackOverflow ,Every time a new user registers on the StackOverflow.com he is assigned a default user picture until he has a gravatar, Now every picture is different from the previous one, so it is sure it is generated, i want to know how can this be done in C#.Note: (I don't think it is a meta question so please don't move it there)

View 1 Replies

Display Time Padded How Stackoverflow And Facebook Do - C#?

Sep 5, 2010

I have a ASP.NET MVC 2 app I am building and users are allowed to post data in certain sections. I would like to display the "Posted At" in the same format that Stackoverflow and Facebook do. i.e. On this site when I post this question it will display "asked 3 seconds ago" then "asked 3 mins ago" and after a few day it will display the date. My app is C#,

View 2 Replies

Consuming StackOverflow API And Visual Studio 2010?

Feb 14, 2011

I have downloaded TheWorldsWorstStackOverflowClone. One of the project is called TheWorldWorsts.ApiWrapper, which basically is the core of accessing the API. There is a class called ApiProxy.cs, which has all the methods for the API call. This is good.

Now what I want to do is I am trying to collect data from this API interface and store it in a database. I know the limit to the API call is 10k per day. I.e: I want to be able to call the method in the ApiProxy class 10k times per day, done automatically. How can I do this?

The non-automatic way would be to create a dummy site where when every time I access the site it does all that process, but this not efficient. It seems that I have to write some kind of a scheduler by deploying a web service, but that is too complicated... as explained here. Any other simpler methods?

View 1 Replies

What Parts Of .net, C# And Database Should Use To Create A Forum Like Stackoverflow

Aug 26, 2010

I am a fresher and I have got a project in asp.net and c#. I have to create a forum, something like stackoverflow, so I have studied asp.net, c# and sql server 2008 but now I am unsure how I should start work on this project.

What technology and what part of asp.net, c# and the database will I use more? I have 3 days to study so I want to know which parts of asp.net, database and c# I have to cover in 3 days.It's my first live project, will I have to study any other languages or are the ones listed enough?

View 2 Replies

Stackoverflow Style Data List View?

Jan 17, 2011

I use ASP.Net web form and ADO.Net.I would like to show the data list like stackoverflow because I don't want to use GridView. I've some data fields to show example.

Title
Description
Date
Keyword

what control I should use and that control will attach with Pager for the data list.

View 2 Replies

How Much Work-power And Time Does It Take For Building Website Like Stackoverflow

Feb 20, 2010

I'm wondering building a website like StackOverFlow (approximately the same features using ASP.NET ) How much Work-power and time does it take in your opinion . My boss has asked me to estimate for work-power , time , cost and suitable technologies .

View 6 Replies

C# - How To Use OpenID

Jan 11, 2010

I would like to create a site that authenticates using Google's OpenID. How would I do this? Also, how would I use roles with custom tables?

View 3 Replies

Security :: Wondering How Does This Website - Stackoverflow Handle The User Authentication?

Aug 17, 2010

I am wondering how does this website - stackoverflow handle the user authentication? It accept yahoo, google, facebook, myspace, openID etc to login. And most importantly with asp.net.I want to build something like this too.

View 1 Replies

Use DotNet OpenID Together With Membership?

Sep 13, 2010

I would like to know if is possible to use DotNet OpenID together with ASP.NET membership. Or other way or allow OpenId account in ASP.NET membership.

View 1 Replies

Unable To Connect To OpenId Provider

Feb 7, 2011

When I run in visual studio I am able to connect to openid provider, But if I host app in IIS ,I am not able to connect to openid provider. (I am getting error at CreateRequest)

what settings has to be done in IIS so that I can connect to the Openid Provider. Below is the error I am getting

[InvalidOperationException: Sequence
contains no elements]
System.Linq.Enumerable.First(IEnumerable`1
source) +336
DotNetOpenAuth.OpenId.RelyingParty.OpenIdRelyingParty.CreateRequest(Identifier
userSuppliedIdentifier)
[ProtocolException: No OpenID endpoint
found.]
DotNetOpenAuth.OpenId.RelyingParty.OpenIdRelyingParty.CreateRequest(Identifier
userSuppliedIdentifier)

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved