# GitHub login not working?

**URL:** https://meta.discourse.org/t/github-login-not-working/116101
**Category:** Support
**Created:** [April 27, 2019, 1:24am UTC](https://meta.discourse.org/t/github-login-not-working/116101 "2019-04-27T01:24:08Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Chaboi\_3000](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chaboi_3000/32/163015_2.png) [@Chaboi\_3000](https://meta.discourse.org/u/Chaboi_3000)
#### Post date: [April 27, 2019, 1:24am UTC](https://meta.discourse.org/t/github-login-not-working/116101/1 "2019-04-27T01:24:08Z")

</div>

On our forum, [discourse.codecombat.com](http://discourse.codecombat.com), we enabled the GitHub plugin, but login seems to fail with the following error: “Sorry, there was an error authorizing your account. Perhaps you did not approve authorization?”. I thought this was a configuration error on my GitHub account, but logging in here using the same account works. Any ideas?

 ![23%20AM](https://global.discourse-cdn.com/meta/original/3X/3/8/38eae8d185fd1d4192f6ee03566882a1b288a58c.png)

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [April 27, 2019, 1:35am UTC](https://meta.discourse.org/t/github-login-not-working/116101/2 "2019-04-27T01:35:55Z")

</div>

Have you looked at the logs?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [April 27, 2019, 1:50am UTC](https://meta.discourse.org/t/github-login-not-working/116101/3 "2019-04-27T01:50:50Z")

</div>

You have to check the GitHub settings for your org – we don’t have access to those credentials (nor would we want to). See the #howto on setting up GitHub login.

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [April 27, 2019, 1:58am UTC](https://meta.discourse.org/t/github-login-not-working/116101/4 "2019-04-27T01:58:27Z")

</div>

The URL contains `message=redirect_uri_mismatch`, which means you put the wrong URL in the GitHub configuration (this is set on Github itself).

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [May 27, 2019, 2:06am UTC](https://meta.discourse.org/t/github-login-not-working/116101/5 "2019-05-27T02:06:53Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
