CircleCI Enterprise GitHub OAuth error

I am setting up CircleCI Enterprise behind my firewall and I’m running into a serious issue with the OAuth Application connection to GitHub. When I input my Client ID and Client Secret and press the “Test Github authentication” it is successful. However, when I save the changes and try going to the actual server, I get a 500 error. I go back to my GitHub settings in the CircleCI admin panel and the Client Secret is something totally different when inspected in console. The “Test Github authentication” button stops working as well.

I have tried spinning up a new instance from scratch, typing manually, and copy pasting multiple times. I keep getting my Client Secret changed and a 500 error.