     (-> main-routes
         (friend/authenticate
          {:allow-anon? true
-          ;;:default-landing-uri "/"
-          ;;:login-uri "/"
+          :default-landing-uri "/"
+          :login-uri "/github.callback"
           :unauthorized-handler #(-> (h/html5 [:h2 "You do not have sufficient privileges to access " (:uri %)])
                                      resp/response
                                      (resp/status 401))


(defroutes main-routes
  (GET "/" [request]
       (if auth
         (friend/authorize #{::user} (render-main-page request))
         (render-main-page request)))

         ;; [:ul [:li (e/link-to (misc/context-uri request "role-user") "Requires the `user` role")]
        ;;  ;[:li (e/link-to (misc/context-uri request "role-admin") "Requires the `admin` role")]

(def client-config
  {:client-id "60b87c4b4a6e4428e50d"
   :client-secret "096e27ebcf5c127f857b655bc136b050b6244edc"
   :callback {:domain "http://amindblowingworld.clojurecup.com" :path "/authenticated"}
   })

(def uri-config
