Giter VIP home page Giter VIP logo

nemiro.oauth.loginforms's People

Contributors

alekseynemiro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

nemiro.oauth.loginforms's Issues

Login in Dropbox with different users failed

Hi,

I created an Dropbox account and login through Nemiro.OAuth.LoginForms. This works fine the first time.
But then I try to login again or when I login with other account on same computer, the OAuth.LoginForms
leads me simply back to auth screen.

Google and Microsoft Live are working fine.

GitHub won't allow authentication anymore with IE/WebBrowser

When I use the login form to authenticate GitHub, the authorize button is grayed out:

Per the directions, first I do:

PM> Install-Package Nemiro.OAuth.LoginForms

then I do

using Nemiro.OAuth.LoginForms;

Then I do

var login = new GitHubLogin
(
  "9fcad1f7740b4b66ba9a0357eb9b7dda", 
  "3f04cbf48f194739a10d4911c93dcece", 
  "http://oauthproxy.nemiro.net/"
);

Of course, do bear in mind that the tokens above are fake ones just for example purposes only.

Then I do

login.ShowDialog();

And I get:
image

The Authorize button is greyed out/disabled. Further googling indicates that GitHub does this for "unsupported browsers." I notice that the Internet Explorer/WebBrowser control is utilized in the LoginForm which is apparently deprecated for GitHub.

Brian Hart

TLS issue

Library is currently using TLS 1.0 and fails on backends requiring TLS 1.2

failed to update twitter status

I can log in Twitter and get the access token with your library & login forms (thanks!), but can't update my status (i.e. tweet). Why?
private void PostUpdateStatus()
{
this.Cursor = Cursors.WaitCursor;
var parameters = new HttpParameterCollection();
parameters.AddUrlParameter("status", this.textBox3.Text);
parameters.AddUrlParameter("oauth_consumer_key", this.ConsumerKey);
parameters.AddUrlParameter("oauth_consumer_secret", this.ConsumerSecret);
parameters.AddUrlParameter("oauth_token", Properties.Settings.Default.TwitterToken);
parameters.AddUrlParameter("oauth_token_secret", Properties.Settings.Default.TwitterSecret);
OAuthUtility.GetAsync
(
"https://api.twitter.com/1.1/statuses/update.json",
parameters: parameters,
authorization: this.GetAuth(),
callback: PostUpdateStatus_Result
);
}

Login Dialog Box opens and closes automatically

obj.ShowDialog() //is the function call

This issue we are facing in a particular Microsoft Surface Pro device. The dialog box appears and closes automatically. Does not wait for the user input for username and password.

Can you please help us with this?

Thank you.
Susarla Nikhilesh.

DefaultCallback on Login should process Erros first

Hi,

I'm using the Facebook Login form, but when the user does not consent the app, it throws a NullReferenceException.

That is the CallStack:

Nemiro.OAuth.dll!Nemiro.OAuth.UniValue.IsNullOrEmpty(Nemiro.OAuth.UniValue value) Line 1136 C# Nemiro.OAuth.dll!Nemiro.OAuth.UniValue.operator !=(Nemiro.OAuth.UniValue x, string y) Line 2067 C# Nemiro.OAuth.LoginForms.dll!Nemiro.OAuth.LoginForms.Login.GetAccessToken(string authorizationCode) Line 400 C# Nemiro.OAuth.LoginForms.dll!Nemiro.OAuth.LoginForms.Login.AuthorizationCode.set(string value) Line 136 C# Nemiro.OAuth.LoginForms.dll!Nemiro.OAuth.LoginForms.Login.DefaultCallback(object sender, Nemiro.OAuth.LoginForms.WebBrowserCallbackEventArgs e) Line 351 C# Nemiro.OAuth.LoginForms.dll!Nemiro.OAuth.LoginForms.Login.webBrowser1_DocumentCompleted(object sender, System.Windows.Forms.WebBrowserDocumentCompletedEventArgs e) Line 274 C# Nemiro.OAuth.LoginForms.dll!Nemiro.OAuth.LoginForms.Login.webBrowser1_DocumentTitleChanged(object sender, System.EventArgs e) Line 236 C#

I think the erros in response should be treated first. Would you mind if I send a pull request?

Cheers

Как насторить приложение

Я хочу авторизоваться в Тамблере, но не понятно, какой callback url необходимо прописать, чтобы получать токен. Так как приложение WinForms, я не могу прописать адрес своего сайта, потому что его нет.

ILoginForm interface should be public

ILoginForm should be public so that new classes can derive from Login and implement WebDocumentLoad() for different handlings. Currently the interface is internal.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.