Nevermind, I figured it out. Instead of using environmental variables I had to use a redirect url and put the CLIENT_ID and CLIENT_SECRET in as variables.