# Oauth Github authentication misconfigured

**URL:** <https://community.taiga.io/t/oauth-github-authentication-misconfigured/2112>\
**Category:** Self hosted Taiga\
**Created:** [November 7, 2023, 3:08pm UTC](https://community.taiga.io/t/oauth-github-authentication-misconfigured/2112 "2023-11-07T15:08:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![seccentral](https://dub1.discourse-cdn.com/flex017/user_avatar/community.taiga.io/seccentral/32/1746_2.png) [@seccentral](https://community.taiga.io/u/seccentral)\
**Post date:** [November 7, 2023, 3:08pm UTC](https://community.taiga.io/t/oauth-github-authentication-misconfigured/2112/1 "2023-11-07T15:08:39Z")

</div>

Greetings,  
I have a docker instance running that has correctly configured self registrations but i’m having trouble with github auth.  
The error i’m getting is

> # Not found
> 
> Error 404. The page you are looking for no longer exists. Perhaps you can return back to TAIGA homepage and see if you can find what you are looking for.

What is the callback url ?

---

<div class="post-metadata">

**Author:** ![daniel.herrero](https://dub1.discourse-cdn.com/flex017/user_avatar/community.taiga.io/daniel.herrero/32/301_2.png) [@daniel.herrero](https://community.taiga.io/u/daniel.herrero)\
**Post date:** [November 8, 2023, 7:45am UTC](https://community.taiga.io/t/oauth-github-authentication-misconfigured/2112/2 "2023-11-08T07:45:23Z")

</div>

> [@seccentral](#):
>
> Perhaps you can return back to TAIGA homepage and see if you can find what you are looking for.

Hi @seccentral ,

Welcome to the community!

An authorization callback URL is the application url to which redirect (or return) the client to, after a successfull authentication process in Github. It’s a way to verify that the login requests attemts using OAuth are really from Taiga by validating its `redirect_url ` parameter.

[Github allows an OAuth login](https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/generating-a-user-access-token-for-a-github-app#redirect-uri-mismatch) request if the `redirect_url` parameter sent from Taiga matches the "callback url " you have configured in your OAuth App.

You can see the redirect\_url in the request from Taiga in this image:

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/taiga/original/2X/4/4928ae70210df0f77dbf16bf5173b87766d871b5.png)

```auto
https://github.com/login/oauth/authorize?client_id=xxxxx&redirect_uri=https://tree.taiga.io/login?next=%252Fdiscover&state=github&scope=user:email

```

I’m not 100 percent sure, but I think it would be enough to specify the base domain of your Taiga installation, as I did in a local installation.

I left you some screenshots with my callback URL.

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/taiga/original/2X/d/dfa045d585009cdc03b2e3ace177f6d79169ad73.png)  
 ![image](https://europe1.discourse-cdn.com/flex017/uploads/taiga/original/2X/f/fbf1d2a8b51407772656d15d8ea978167395d17d.png)

Regards

---

<div class="post-metadata">

**Author:** ![seccentral](https://dub1.discourse-cdn.com/flex017/user_avatar/community.taiga.io/seccentral/32/1746_2.png) [@seccentral](https://community.taiga.io/u/seccentral)\
**Post date:** [November 8, 2023, 1:28pm UTC](https://community.taiga.io/t/oauth-github-authentication-misconfigured/2112/3 "2023-11-08T13:28:01Z")

</div>

thank you so much, this was very helpful. not only did it show me how to fix taiga authentication with github, but this also applies in general to any app. 🥰
