Github authentication redirect error

Hello Friends, a friendly newbie here.

I have this problem with configuring login with Github on my discourse installation, after providing the necessary API keys required in the Admin > Settings > Login page in the github setup section.

Clicking on the Github login option redirects to a 404 page and returns the screenshot below.

and this in the URL bar


Hello Tunde, nice to see you here :slight_smile: :wave:

Did you follow this guide to setup your GitHub login?


Hi Osioke, thank you for your reply.

I did follow the guide and still couldn’t get it fixed, I eventually found a fix on my own.

Apparently the callback URL from the guide isn’t quite correct, I changed it from https://mydomain/auth/callback/github to https://mydomain/auth/github and everything works well.

Perhaps the guide should be updated for future readers.


Glad you were able to sort it out, interestingly, the guide uses the same URL you shared:

So we are good here.

Seeing as you mentioned you were able to resolve it and you found a fix:

I’ll be closing this off now. Cheers! :slight_smile: