jhendley25/GitHUD — pull request #28 by joshuamaxwell (2014-03-12 18:36:18+00:00)
Title: 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!