aalok05 / CodeHub

A UWP GitHub Client
MIT License
177 stars 34 forks source link

Login fail: Can't connect to service #44

Closed PoLaKoSz closed 7 years ago

PoLaKoSz commented 7 years ago

When I click the Sign In button here ....

login

I get this response:

after oauth - copy

I don't know this helpful, but with this exact problem I found this: uwp-csharp-connect-sample #9

My GitHub account status: Free Windows 10 Version 1703 Build 15063.0 Internet Explorer 11 Version 11.0.15063.0 Update Version 11.0.40 (KB4012204)

aalok05 commented 7 years ago

Hey @PoLaKoSz This usually happens when Internet connection is weak, or some other network level issue. I'm not able to reproduce this either, this can be a device specific issue. Have you tried logging in from CodeHub from any other device? or using some other network?

PoLaKoSz commented 7 years ago

Oh Jesus Christ why am I so dumb? Don't set the Authorization callback URL to http://localhost/ when you Register the application.

TheNightRider12 commented 7 years ago

@PoLaKoSz what did you change the Callback URL to? I am having this same issue and I can't figure it out.

PoLaKoSz commented 7 years ago

@JMccormick264 Hi. I think that is a hard coded string so Callback URL needs to be http://example.com/path or at least this is works for me.

capture

aalok05 commented 7 years ago

You can set any callback url you want in the dashboard, just make sure the same url is used here