C# - Using Google Federated Login With Google Apps And .net Application

Aug 11, 2010

As an organisation, we use Google Apps. We have the paid version (mapped to our domain) etc...We are developing a web based application to manage orders, and other business functionality.I want to be able to use federated login with our google apps accounts-
For example, if a user is logged in to their email (gMail) - they should automatically be logged in to our ASP.net application

If they're not logged in - the log in form should auth. against our google apps account.How can this be done?Is it possible to be able to "get" the user who is currently logged in using this method etc...?

View 3 Replies

Similar Messages:

Google Federated Login API - How To Find It

Aug 6, 2010

I am looking for google authenication for my website. I searched in Google code but I found nothing.

View 1 Replies

Google Apps For Business Can Open ID Login For .NET Intranet Site

Nov 27, 2010

My company uses Google Apps for our e-mail/business app provider. Every employee has an account here.I'm looking into creating an asp.net web app that would allow users to sign-in (using their Google Apps account) and then accomplish certain things (first goal: keep a current record of the employee's skillset).Before I get started, I wanted to find out if an OpenID login system using Google Apps is any more difficult than doing it the standard way, or if I need to be aware of any pitfalls.

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

Using OpenIdButton For Google Apps?

May 27, 2010

I am an ASP.NET newbie and I am trying to design an OpenID/SSO system for an internal web application. The web application is pretty simple and the authentication is currently being managed by a database with usernames and passwords. I want to replace the existing accounts stored in the database with Google Apps accounts.

I have downloaded the latest DotNetOpenAuth- package and got the OpenIdRelyingPartyWebForms sample up and running on IIS. I have built my own login page using just a OpenIdButton object that points to a development Google domain.

The button seems to work fine in FireFox, at least it is forwarding me to the Google Apps login, but nothing happens when I load the same page in IE. When I click the Google button, nothing happens, zip. The same is true for the Yahoo button in the login.aspx page given in the sample.

Here is the .aspx code I am using...


View 2 Replies

Send Email Via Google Apps In C#?

Mar 31, 2010

I am trying to send a basic email through Google Apps/Gmail using C# (System.Net.Mail/Framework 4) and I am having trouble doing so.

I am receiving the following exception: "The operation has timed out."

My code is below:

//Create the mail message
MailMessage mail = new MailMessage();
//Set the addresses
mail.From = new MailAddress("myemail@gmail.com", "My Name");


During my troubleshooting I have tried:

Using my personal gmail address as well as another from a domain hosted through Google Apps. Using ports 25, 465, and 587 Hard coding the config settings in the c# code instead of using the web.config Sending and telneting from multiple network locations to ensure the firewall/ISP was not blocking it Ensured that POP was enabled in the GMail settings (according to Google this should turn on the ability to send using SMTP)
Changing the send from and replyTo address to ensure they match the account (apparently a GMail necessity).

I am able to send and receive email fine through the GMail interface for both of my email accounts. I have also tried the settings and solutions offered in Question # 757987 to no avail.

View 1 Replies

Social Networking :: How To Integrate Google Login With Application

Jul 17, 2013

Can u place the code for google login with asp.net application.I have searched the net but no code was clear and cut. Also the logout issue was there.

View 1 Replies

Send An Email Via Google Apps Without An Ssl Cert?

Nov 11, 2010

I'm trying to send email via google apps from my asp.net app and am getting the following exception:

{"The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required. Learn more at "}

My Web.config has the following values:

<smtp from="user@domain.com"
<network host="smtp.gmail.com"

View 2 Replies

Web Forms :: SmtpClient Versus Google Apps Emails

Oct 11, 2010

i am trying to send email using simple SMTPClient class, as the following code:


when i put the To email to be an Gmail,yahoo, hotmail email "as in example" or another domain.com email, the code is working with no issue, but when i put the recepient email to be any of Google Apps Emails, unfortunately the email didnot received. does the SmtpClient have a problem with google apps?

View 1 Replies

Web Forms :: Implement Gmail / Google Apps Inbox Feed?

Apr 14, 2010

I would like to implement gmail / google apps inbox feed in my application. I know inbox feed gives me read only results, but I want to the same. I google and found this is possible through[URL]. But I don't know how to implement it in asp.net.

View 2 Replies

Unable To Send An Email From .net Using A Google Apps Email?

Jan 16, 2011

I am trying to send an email from asp.net using a google apps email.

I found this question which did not resolve the issue
Send Email via C# through Google Apps account

The part that I am really confused about is that it works with these settings

<smtp from="****@gmail.com" deliveryMethod="Network">
<network host="smtp.gmail.com" port="587"
userName="****@gmail.com" password="****"[code]....

and get the following error message

"The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required."

I found this article as well http://www.google.com/support/forum/p/Google+Apps/thread?tid=2cbb54572fea6939&hl=en and worked through this but that did not resolve me issue either.

View 1 Replies

With Google Maps, Can Use Google's Own Popup Windows

Jan 11, 2011

I've implemented a google map with points and stuff that uses an address that the user inputs. When you click a point, the popup bubble appears with the name and address in.Often this name and address is a prominent location, as it's used for meetings and things, such as a university. If you google the address yourself on maps.google.co.uk then you get google's own popup bubble, which often has a photo, information, opening hours, links to directions, reviews, etc. etc.I am wondering if there's a way to use that popup dialog instead of my own, where it is available. I can't see anything in the API to do this.I'm using V2 as we support IE6 in a lot of our users, but I've been told recently I can upgrade to V3 should I need functionality from it.

View 1 Replies

Javascript - Google Map Dragging Like In Maps.google.com?

Aug 22, 2010

just want to add the effect of map momentum by the dragging of map as in maps.google.com has. currently on my map where i stop dragging the map stops there but in maps.google.com if you drag a mouse the map will not stop there it will continue the movement in the same direction for a second or few cordinates (i dont know basically), but I want the same thing on my google map. I am using GMap2.

View 1 Replies

Login With Google Account On Website?

Apr 9, 2010

I would like my users to be able to login with their google account on my website. I understand the basics. I have to use oAuth, but what "scope" should I use? I just want to verify the user has a valid google account. Once authenticated with Google I will force them to create a nickname, etc.

But my problem is I have to create a RequestToken but what scope should i specify? In google's example it give my app the ability to access their google calendar but I don't need that.

View 2 Replies

Is This Possible To Login With Our Own Form To Facebook / Google / Yahoo

Feb 6, 2011

I am going to creating a project in this user can enter username and password in my web form and that Username/Password will check in these following site with this following sequence if any first get authentication true user will be login...

open id

I have some question

Is this possible to login with our own form to facebook, Google, yahoo, twiteer etc
Is it good way? how can I do that?

View 2 Replies

Social Networking :: Login With Google Account API

May 7, 2015

All the facebook, twitter & LinkedIn api are working properly i have integrated this into my project. But still google api code is not findin in your site. 

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

Social Networking :: Logic Behind Same Login For All Google Sites

Aug 17, 2013

We have login any one of the Google Group site. It is not required login to another. Its automatically open requested page.

When I close the one site. another site working. what is the login behind this.

View 1 Replies

Social Networking :: Login With Google API - 403 Forbidden Error

Jun 16, 2015

Server Error in '/googlelogin' Application.

The remote server returned an error: (403) Forbidden.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Net.WebException: The remote server returned an error: (403) Forbidden.

Source Error:
Line 24:
Line 25: string code = Request.QueryString["code"];
Line 26: string json = GoogleConnect.Fetch("me", code);
Line 27: GoogleProfile profile = new JavaScriptSerializer().Deserialize<GoogleProfile>(json);
Line 28: lblId.Text = profile.Id;

[Code] ....

View 1 Replies

Data Controls :: List And Download Files From Google Drive Using Google Drive API?

May 7, 2015

I want to download a file from google drive (like .docx, .xlsx etc.) to a specific location, I am able to do so which are publicly share using WebClient object.

But now I want to download file which private in share but unable to do it.

How to improve my code which should download private file also.

//1) Link - google drive link from where to download
//2) filename- name of filename-
//3) oringinalDocDirectory- path where file has to save

public ActionResult SaveToServer(string Link,string filname,string oringinalDocDirectory) {
if (!Directory.Exists(oringinalDocDirectory))
var docFinalSavePath = Path.Combine(oringinalDocDirectory, filname);
WebClient client = new WebClient();
client.DownloadFile(new Uri(Link.Replace("&export=download","")), docFinalSavePath);
return Json(new { status = docFinalSavePath }, "text/html", JsonRequestBehavior.AllowGet);

View 1 Replies

Use Google Map In Web Application?

May 7, 2010

I have a website in asp.net 2.0, I have a page where i m displaying College Details and want to show that college address in google map.

The college data is coming from Sqlserver database.

Is it possible to display address on map from Database.

View 2 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

Adding Google Map In .net Application?

Jul 14, 2010

i am develope web application for factory i need to add google map with location of factory
in contact us web page

View 3 Replies

MVC :: How To Integrate .net Application With Google ...

Mar 29, 2011

i want to implement an asp.net MVC web application where a user enter the required address in the mvc application and then click on submit button where the related address will be displayed using Google maps inside the MVC application.

i have good knowledge of developing MVC web application but i lake the required knowledge to develop such and integration.

View 5 Replies

Integration Of Google Calendar In Application?

Sep 14, 2010

integration of Google Calendars in the website? I need to replace the existing calendar control in the website with the Google calendar. I am trying to merge the events with Google Calendar so that events are posted/ tracked in Google Calendar, and events added to the Google Calendar would be shown in my website. I want some working sample which will provide me some idea to integrate the Google calendar in the website.

View 1 Replies

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