diff --git a/horizon.dhall b/horizon.dhall
index efb5960a30d269caea251300c72f994250a4b1a3..ed4fc705ae5fb10b16aaa3c6a4c8066a680e2d28 100644
--- a/horizon.dhall
+++ b/horizon.dhall
@@ -112,6 +112,7 @@ let packages =
       , attoparsec-binary = H.callHackage "attoparsec-binary" "0.2"
       , attoparsec-iso8601 = H.callHackage "attoparsec-iso8601" "1.1.0.0"
       , attoparsec = H.callHackage "attoparsec" "0.14.4"
+      , authenticate-oauth = H.callHackage "authenticate-oauth" "1.7"
       , auto-update = H.callHackage "auto-update" "0.1.6"
       , autodocodec = H.callHackage "autodocodec" "0.2.0.1"
       , autodocodec-schema = H.callHackage "autodocodec-schema" "0.1.0.2"
diff --git a/initial-packages.nix b/initial-packages.nix
index 6e154bdea854194e0fca79a628033c1469086003..7aac8e639b05f234716e45312d486a49f3d4cfa3 100644
--- a/initial-packages.nix
+++ b/initial-packages.nix
@@ -123,6 +123,8 @@ self: with pkgs.haskell.lib; {
 
   attoparsec-iso8601 = self.callPackage (./pkgs/attoparsec-iso8601.nix) { };
 
+  authenticate-oauth = self.callPackage (./pkgs/authenticate-oauth.nix) { };
+
   auto-update = self.callPackage (./pkgs/auto-update.nix) { };
 
   autodocodec = self.callPackage (./pkgs/autodocodec.nix) { };
diff --git a/pkgs/authenticate-oauth.nix b/pkgs/authenticate-oauth.nix
new file mode 100644
index 0000000000000000000000000000000000000000..8575a50d44b538221e988619b0cf024a4c6685c8
--- /dev/null
+++ b/pkgs/authenticate-oauth.nix
@@ -0,0 +1,54 @@
+{ mkDerivation
+, RSA
+, SHA
+, base
+, base64-bytestring
+, blaze-builder
+, bytestring
+, crypto-pubkey-types
+, data-default
+, http-client
+, http-types
+, lib
+, random
+, time
+, transformers
+, transformers-compat
+}:
+mkDerivation {
+  pname = "authenticate-oauth";
+  version = "1.7";
+  sha256 = "746ff695fec1bd7c7b90f1952847ce3453fadf0f18a31db206753360b3219b78";
+  revision = "1";
+  editedCabalFile = "198xm2qdaqwg2m9kgrkw5gdk2bh19mmj6c4d5fsbpcjnhxlh6axg";
+  isLibrary = true;
+  isExecutable = false;
+  enableSeparateDataOutput = false;
+  libraryHaskellDepends = [
+    base
+    base64-bytestring
+    blaze-builder
+    bytestring
+    crypto-pubkey-types
+    data-default
+    http-client
+    http-types
+    random
+    RSA
+    SHA
+    time
+    transformers
+    transformers-compat
+  ];
+  enableLibraryProfiling = true;
+  enableExecutableProfiling = true;
+  doHaddock = false;
+  jailbreak = true;
+  doCheck = false;
+  doBenchmark = false;
+  hyperlinkSource = false;
+  homepage = "http://github.com/yesodweb/authenticate";
+  description = "Library to authenticate with OAuth for Haskell web applications";
+  license = lib.licenses.bsd3;
+  broken = false;
+}