                                        :params {:username "nioh"
                                                 :password ""}))]
 
-        ;; login page should be returned
+        ;; then
         (get-in state [:response :status]) => 200
         (get-in state [:response :body]) => (contains "failed")))
 


        ;; then
        (let [{:keys [status body]} (:response state)]

          status => 200
          (slurp body) => (contains "access_token"))))

        (get-in state [:response :status]) => 200
        (get-in state [:response :body]) => (contains "failed")))

(fact "Client may receive its token in Authorization Code Grant scenario."
      (u/purge-users)

      ;; given
