9-volt / bug-life

Bug Life - GitHub Data Challenge 2014
https://9-volt.github.io/bug-life/
MIT License
63 stars 12 forks source link

Cannot authorize the application #21

Closed domenic closed 7 years ago

domenic commented 8 years ago

When I try it gets stuck on "Redirecting..." The URL is:

http://9-volt.github.io/bug-life/redirect.html?error=redirect_uri_mismatch&error_description=The+redirect_uri+MUST+match+the+registered+callback+URL+for+this+application.&error_uri=https%3A%2F%2Fdeveloper.github.com%2Fv3%2Foauth%2F%23redirect-uri-mismatch&state=%7B%22client_id%22%3A%22baf32f7bbb8d975e64f3%22%2C%22network%22%3A%22github%22%2C%22display%22%3A%22popup%22%2C%22callback%22%3A%22_hellojs_9xd5nzkc%22%2C%22state%22%3A%22%22%2C%22oauth_proxy%22%3A%22https%3A%2F%2Fauth-server.herokuapp.com%2Fproxy%22%2C%22scope%22%3A%22basic%22%2C%22oauth%22%3A%7B%22version%22%3A2%2C%22auth%22%3A%22https%3A%2F%2Fgithub.com%2Flogin%2Foauth%2Fauthorize%22%2C%22grant%22%3A%22https%3A%2F%2Fgithub.com%2Flogin%2Foauth%2Faccess_token%22%2C%22response_type%22%3A%22code%22%7D%7D

bumbu commented 8 years ago

I suppose you get this error locally. If so then locally you have to add the auth token manually.

domenic commented 8 years ago

No, I got this error on the live version. Don't you?

bumbu commented 8 years ago

Worked fine for me on live. Locally I get this error but that's because as error states - redirect_uri doesn't match the registered callback uri.

domenic commented 8 years ago

Very curious. Can you try https://9-volt.github.io/bug-life/?repo=whatwg/html in an incognito window?

bumbu commented 8 years ago

Yep, doesn't work in an incognito window

paulmelnikow commented 7 years ago

Same issue here. Setting a personal token manually worked, but authorizing the app did not. This was on https://9-volt.github.io/bug-life/.

screen shot 2017-03-31 at 11 52 36 am screen shot 2017-03-31 at 11 52 53 am
paulmelnikow commented 7 years ago

Cool project by the way!

bumbu commented 7 years ago

Hi @paulmelnikow, thanks. I'll try to fix this issue.

bumbu commented 7 years ago

Apparently 2 things happened:

Fixing these 2 (and updating the library) helped to fix it. Thanks @paulmelnikow and @domenic for raising this

paulmelnikow commented 7 years ago

Confirmed fixed! Sweet!