Comments on: OAuth 1.0 with Gmail (deprecated) https://www.limilabs.com/blog/oauth-with-gmail Using Limilabs .net components Sat, 05 Aug 2023 08:02:57 +0000 hourly 1 https://wordpress.org/?v=6.6.2 By: Limilabs support https://www.limilabs.com/blog/oauth-with-gmail#comment-570964 Wed, 11 Sep 2013 21:32:31 +0000 http://www.limilabs.com/blog/?p=2030#comment-570964 In reply to Mukesh Tyagi.

Please use OAuth 2.0: http://www.limilabs.com/blog/oauth2-gmail-imap-web-applications – read “Refreshing access token” section.

Save refresh token to be able to refresh access token. We recommend storing entire IAuthorizationState object received from ProcessUserAuthorization method call. Then use RefreshAuthorization method.

]]>
By: Mukesh Tyagi https://www.limilabs.com/blog/oauth-with-gmail#comment-570753 Tue, 10 Sep 2013 17:36:05 +0000 http://www.limilabs.com/blog/?p=2030#comment-570753 i am creating a CRM web application. i want that user resister with my app. first time get authenticate with Gmail log in by user name and password and allow access to his user data for my app. but next time when hi log in to my app user can able to see gmail data without log in to gmail. how it posible.

]]>
By: Limilabs support https://www.limilabs.com/blog/oauth-with-gmail#comment-1572 Tue, 17 Jan 2012 17:04:43 +0000 http://www.limilabs.com/blog/?p=2030#comment-1572 In reply to Hernan.

@Hernan

1.
Gmail uses OAuth 1.0
From September 17, 2012 Gmail supports OAuth 2.0 for IMAP and SMTP protocols, Mail.dll also supports IMAP with OAuth 2.0 for ASP.NET (MVC) web applications and IMAP with OAuth 2.0 for installed applications

2.
Please update to the latest version.
– GetAuthorizationUrl now uses not signed OAuthAuthorizeToken method.
– You’ll no longer get 401 from google API

]]>
By: Hernan https://www.limilabs.com/blog/oauth-with-gmail#comment-1571 Tue, 17 Jan 2012 14:57:17 +0000 http://www.limilabs.com/blog/?p=2030#comment-1571 Great job! what about oauth v2?

I have a problem oauth.GetAuthorizationUrl(). When the browser is openned, i get an error from google. If I delete oauth_signature parameter and value from URL it appears to work! but then oauth.GetXOAuthKeyForImap() gives me a 401 error (not authorize)

]]>
By: OAuth with IMAP https://www.limilabs.com/blog/oauth-with-gmail#comment-1570 Sun, 15 Jan 2012 12:44:26 +0000 http://www.limilabs.com/blog/?p=2030#comment-1570 […] This article describes generic OAuth class, if you are using Gmail please read OAuth authentication with Gmail […]

]]>