Auth0 Home Blog Docs

Github auth in apache?


I am trying to use github authentication in apache.
When I am trying to reach, I get redirected to

where I correctly see a button with “github” written on it.
when I push that button, I get a 404 at

What is the problem, and how to fix it?
The config is in this gist, as I am not allowed to put more than 3 uris here:


Hey there @magwas and welcome to the Auth0 Community!

I’m happy to assist you with the challenge you are facing. To start, can you get us a HAR file of the broken authentication workflow that you are experiencing and direct message that over to me along with your tenant name? Please be sure to select “Preserve log” to catch redirects and scrub the file of user passwords before passing, thanks!


Could you figure out something from the HAR file?


Hi @magwas, I have it on my schedule today to review the HAR file and will get back to you to let you know what I find. Thank you for your patience.


When diving into your HAR file I am not seeing the id come across during 404 Github exchange. Can you take a look at that during your exchange? Thanks in advance!


Which piece of configuration is related to that id going through?
I do have an OIDCClientID directive in my apache config.


After looking at it with a senior engineer on our support team it appears everything is running successfully for the authentication with Auth0 as displayed in the HAR file. However there does to be something going on with Github during this flow. Is there multiple tabs open to Github/login when this occurs?


Normally I do have some tabs with github. But I have tested it now with no github open, and the same thing happened. It is reliably not working.


Let’s give this another look with a minimal setup running in your browser. Snag another HAR file with the “Preserve log” enabled to catch redirects and send it over in a direct message. If you are using Chrome during this instance can you also message the extensions you have enabled as well. Please detail the workflow and I will give this another look to verify with our team. Thanks @magwas.


I wanted to follow up @magwas, after reviewing your latest HAR file capture with one of our senior support engineers. After more further investigation we were able to reproduce the error you experienced and it appears to be related to your Github Client ID is invalid. I would recommend taking a look at this and verifying you have the correct corresponding data in you dashboard’s connections. I have linked documentation related to this subject below as well. Please let me know if this helps you in your pursuit. Thank you.


Thank you. This solved the issue.


Sounds great! I’m happy I could help and if you find you have any questions in the future please be sure to come back and visit us!

closed #14

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