C# - DotNetOpenAuth With Google Calendar Feed?
Oct 2, 2010
I have been racking my brain for a few days trying to get a list of calendars from Google using DotNetOpenAuth. I can successfully get a list of contacts using the DotNetOpenAuth Samples. I have integrated it with my domain using the OpenId+OAuth. Everything works great to get a list of contacts.
So from there I modified the code to try to retrieve a list of Calendars and I keep getting a 401 Unauthorized error. I know it is authorizing because I can get the contact list. Does anyone have a code example how they are retrieving calendars or calendar events using the DotNetOpenAuth with Google???
[Code]....
View 2 Replies
Similar Messages:
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
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
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
Nov 12, 2013
I apply rss in my website, it is looking fine in firefox but not in chrome. It look like xml in chrome...
View 1 Replies
Jul 7, 2010
I'm looking to build a Google like calendar from scratch. I need it to be flexible, so if someone has an appointment scheduled and is running 15 minutes let, I need to be able to click a button and move that appointment and all the other appointments underneath it down by 15 minutes.
View 2 Replies
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
Aug 14, 2010
I have embedded a Google Calendar Reminder button into an aspx page. It assumes the date is in a yyyyddmm format. So that 08/14/2010 in my text box needs to be converted to 20101408 What would be the format to take a date (string) from a textbox and convert it into a string will be in the desired format for Google?
View 2 Replies
Oct 27, 2010
I have the following code for use in my asp.net website:
CalendarService service = new CalendarService("mycalendar");
EventQuery query = new EventQuery();
query.Uri = new Uri(group.GroupEventsURL);
query.SingleEvents = true;
query.SortOrder = CalendarSortOrder.ascending;
query.ExtraParameters = "orderby=starttime";
query.NumberToRetrieve = 50;
query.TimeZone = "America/Chicago";
EventFeed feed = service.Query(query);
Which produces the following URL:
[URL]
According to the documentation (emphasis mine), I expect the Times in each EventEntry to be in the Central time zone:
The current timezone. If not specified, times are returned in the calendar time zone.
Times in the resulting feed will be represented in this timezone.
Replace all spaces with underscores (e.g. "ctz=America/Los_Angeles").
But my server is hosted in Arizona, so (for now) all of the dates on the calendar are two hours earlier than they should be. Am I doing something wrong? How do I get the dates in the feed to be in the Central time zone even though the server is in Arizona?
I do not plan on moving my hosting any time soon, but since Arizona does not participate in Daylight Savings Time, I cannot simply add two hours to every date.
View 1 Replies
Sep 10, 2010
I've written a entry form for our company employees to enter marketing courses into the DB and at the same time add them to a Google Calendar. The Calendar is accepting the events, but the coloration of the event is different from a "manually" entered event using Google's interface. This leads me to believe that there is some property I am not setting that is causing the events not to be show on the calendar once it is embedded in our other company web pages.
The code used to enter events:
// Create a CalenderService and authenticate
CalendarService myService = new CalendarService("exampleCo-exampleApp-1");
myService.setUserCredentials("xxx@gmail.com", "xxxxxx");
CalendarQuery query = new CalendarQuery();
[Code]....
And this is the resulting calendar:
The "test event jasdf event" is the manually entered event, and the two events: "Test event 234" are the programmatically entered events. In any case, once I embed the calendar, the only event showing up is the "test event jasdf".
Anyone faced this issue before or had success with google calendar? If so, I'd like to see what you might have used to successfully create events and publish them.
View 1 Replies
Mar 31, 2010
What would you recommend me to do in order to accomplish that?I'm developing a Scheduling software and i love google's interface (view in day, week, month) but i'm thinking in doing everything from ground zero. Is there a way to use pre-created controls or something much more easy than my idea ?
It's for web with asp.net and c#.
View 2 Replies
Nov 24, 2010
I've got two websites. One is a copy of the other, I even went ahead and remade a copy of the original a second time hoping it would alleviate the issue I'm having but it didn't.
On both pages I have a calendar so the route is
Csharp Code:
[code]....
The issue is on the original site /Calendar works. It shows the Calendar page with the current month. On the copy site /Calendar gives a 404 but /Calendar/Index shows the Calendar page with the current month.
View 1 Replies
Aug 12, 2010
I'm using DotNetOpenAuth to sign in to Facebook.
Here is the code:
[code]...
View 1 Replies
Feb 26, 2010
I created a simple page using the code provided by this page (the first sample): [URL] But I can't seem to get it to work, I can redirect to the provider but when the provider redirects back to my page, I get error 500, "The request was rejected by the HTTP filter". I already checked ISAPI filters which I have none.
View 2 Replies
Dec 14, 2010
I'm new to DotNetOpenAuth. I've managed to do login using google & yahoo. However, I'm not able to get ReturnToUrl to work. Here is my markup:
what I do, it redirects back to the homepage on login. I've tried doing it OnInit, but it's still not picking. Is there any other overriding property somewhere I'm missing?
View 1 Replies
Mar 18, 2011
My sample works great on my Wifi internet at home. However, at work we have a proxy server and it is not working at all.
I enabled the default proxy and still not working. The "CreateRequest" call throws the exception:
Sequence contains no elements.
View 2 Replies
Jan 11, 2011
I'm using the DotNetOpenAuth to try and do GoogleID login, and every time I do details = OResponse.GetExtension<ClaimsResponse>(); I always, always, always get back null, I don't get whats the point of the GoogleID if I can't get back any information, I would think at the very least I would get an email address, so I could associate it other login information in my databse. I just don't understand could really use some help, Im probably just looking at openID in the wrong way.
I'm using ASP.NET and looking to use openID/Facebook as my sole means of logging in users, I really don't want to mess with membership roles, or extra junk that ASP.NET likes to add.
View 2 Replies
Mar 1, 2010
I am trying to figure out how to get DotNetOpenAuth(http://www.dotnetopenauth.net/) working in my webforms app
I don't understand where to begin. I have an OpenIDSelector on my Login.aspx that lets you choose google or Yahoo. You can choose one, then a popup comes up, and lets you login. Once you login the program hangs because it is trying to do something with a database???
Can't I just use some control(like the OpenIDSelector) and get back that the user was authenticated, get their ClaimedID and handle the rest myself?
EDIT: Trying to get started with OpenID in Webforms? Go Here...
http://www.dotnetopenauth.net/developers/code-snippets/programmatic-openid-relying-party/
View 4 Replies
Feb 11, 2011
I'm trying to use OAuth for authentication for the FreshBooks API from my ASP.NET MVC C# app. Here is what I have so far: I'm using DotNetOpenAuth here is the code I have in my controller action
if (TokenManager != null)
{
ServiceProviderDescription provider = new ServiceProviderDescription();[code].....
The TokenManager is the same class that is provided with the DotNetOpenAuth sample, I've set my consumer secret that FreshBooks gave me.On the consumer.Channel.Send(consumer.PrepareRequestUserAuthorization(...)) I've got the following exception:
"The remote server returned an error: (400) Bad Request.".Am I doing this correctly? Based on FreshBooks documentation and DotNetOpenAuth samples that should work correctly. Is there a simpler way to authenticate with OAuth, as DotNetOpenAuth is a bit huge for simply using OAuth authentication?
View 1 Replies
Jul 14, 2010
I am trying to implement OpenID for a website using only Google as the authentication provider. I am using the OpenIdButton control to send users to their Google Apps login since I always want them to go to the same place.
The button sends them to the right place and returns them to the ReturnToUrl correctly but it doesn't seem that the OnLoggedIn event ever fires. I am checking the event by setting a TextBox value in the method and I am seeing no change in the TextBox value. Here is my code...
<tr>
<td>
<asp:TextBox ID="devMsg" runat="server"/>
</td>
</tr>
<tr>
<td valign="top" align="center">........
The TextBox is never being set to anything so it looks to me like the OpenIdLogin_LoggedIn call is never being made when the response is coming back from Google.
View 2 Replies
Sep 10, 2010
I'm trying to test a simple asp.net app using DotNetOpenAuth DLL. Does anyone has a simple code example code,link?
View 1 Replies
May 28, 2010
I am a total newbie in the oAuth area and have set up DotNetOpenAuth to set up an oAuth Service provider. The sample provided in the DotNetOpenAuth download is quite confusing for me...maybe cos i am new to this stuff. There is one default page that creates a database and populates the database. Now I browse to the login.aspx and it asks me to put an openid, actually I want to use DNN (which implements DotNetOpenAuth) and i want to use those credentials on another site which will be the oAuth consumer. Can someone explain how to test the oAuth Service provider in the samples of DotNetOpenAuth?
View 1 Replies
Apr 1, 2011
i worked on a sample application integrating OpenID into ASP.NET Web Forms. It works fine when hosted locally on my machine. However, when I uploaded the application to a live server, it started giving "Login Failed".
You can try a sample here: [URL]
Here is the source code that fails to process the OpenID response:
[code]....
View 1 Replies
Jan 29, 2011
I am trying to get a sample project to work with dotnetopenauth and facebook.I have this code
namespace OAuthClient
{
using System;
[code]...
View 1 Replies
Mar 5, 2010
I am trying to send data to DotNetOpenAuth website as described here [URL] Sender receive (500) Internal Server Error. The same code for blank website without DotNetOpenAuth works fine. Should I tweak something?
Here is an exception:
[code]....
View 1 Replies