Oauth Github authentication misconfigured

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 ?

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 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:

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.


Regards

2 Likes

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. :smiling_face_with_three_hearts:

1 Like