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...?
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.
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-22.214.171.12403 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.
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("email@example.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.
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?
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.
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.
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.
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.
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...
Google Twitter Facebook Yahoo blogger Linkedin myspace flickr open id AOL livejournal wordpress
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?
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.
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.
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.