Auth server switch
Okay! These changes switch out mason's github app clientID for my github app client ID in the LOGIN button href url.....and switch out the url to the oauth proxy on line 29 of app-router.js to point to mine (githud-auth-joshua) so that I could change the redirect url in the github app settings to test the gh-pages hosted version of the site.
Everything is now working on gh-pages as it does on the locally served version of the site.
Now a grunt CDN task is needed to automate those variables changing during the build (the clientID in the loginbutton in welcome.html, and the heroku oauth proxy server in app-router.js) That way there can be a heroku server and github app pair for development and the same for production.
We currently have both of those already configured (mason's set works for dev and my set works for production, but I'm totally open to changing it to either jake's github app or the iron yard org github app) if you don't want users authenticating through my github app... let me know!
oh and the push-state root on line 52 of app-router.js will need to get changed with the grunt CDN as well to accomodate for gh-pages subfolder structure
one last thing (i think) just as a heads up. when I switch between development and production, I find that I have to erase my exsiting cookies from jhendley25.github.io and/or 0.0.0.0 and/or 127.0.0.1:9000 so that GitHUD doesn't try to use mismatched auth_tokens for client_ids