                   :jwks-url      "https://www.googleapis.com/oauth2/v3/certs"
                   })
 
-(def github-data {:client-id     "65eacce92b11d7422fed"
-                  :client-secret "831a93010452b94404f0c700d471c9dd29ba0260"
+(def github-data {:client-id     github-client-id
+                  :client-secret github-client-secret
                   :redirect-url  "http://localhost:8899/auth/code"
                   :scopes        ["openid" "user:email"]
                   :issuer        ""

;;; FIXME: evil stuff, just for demonstration though:
(defonce laststate (atom nil))
(defonce lastnonce (atom nil))


(comment (defn get-env []
           {:clientid (System/getenv "CLIENTID")
            :clientsecret (System/getenv "CLIENTSECRET")
            :provideruri (System/getenv "PROVIDERURI")
            :redirecturi (System/getenv "REDIRECTURI")}))


(defroutes auth-routes

                  ;;; (contrary to this example, you probably want to keep client-secret private, so
                  ;;; you'll probably want to get it from some config instead of hardcoding it in
                  ;;; your source code):
                  :client-id     google-client-id
                  :client-secret google-client-secret

                  ;;; redirect-url: Point this to the url you want users to be redirected to after they've
                  ;;;   completed authentication at the OP (note that you might have to tell your OP a list
