Liking cljdoc? Tell your friends :D

[Unreleased]

[1.9.0] - 2026-08-27

Added

  • Add injectable OAuth nonce, timestamp, and clock functions for deterministic requests.
  • Add local fake-provider protocol coverage for token, refresh, xAuth, and protected-resource flows.
  • Add configurable token endpoint methods, body encodings, headers, content types, and response parsers.

Changed

  • Token request failures now throw structured ex-info errors containing status, headers, body, and decoded OAuth error parameters.
  • Use explicit UTF-8 encoding for cryptographic inputs, platform-independent secure randomness, and constant-time signature comparison.

[1.8.0] - 2026-08-27

Added

  • Accept ordered key-value parameter sequences for query, form, and OAuth parameters, retaining duplicate keys during RFC 5849 signature normalization.

[1.7.0] - 2026-08-27

Added

  • Add signed-request, plus signed GET, POST, PUT, and DELETE convenience wrappers that generate OAuth parameters, Authorization headers, and execute through clj-http.

[1.6.3] - 2026-08-17

Fixed

  • The signature base string now applies RFC 5849 URI normalization (lowercase scheme and host, drop the default port, exclude the query and fragment), so requests with a query string, a default port, or a mixed-case host sign correctly.
  • verify no longer double-encodes the token secret.
  • form-decode splits each pair on the first = only, so padded base64 token secrets are no longer truncated.

[1.6.2] - 2026-07-12

Changed

  • Migrate the build to deps.edn and tools.build, with Leiningen supported via lein-tools-deps.

[1.6.1]

  • Bump commons-codec 1.18.0 to 1.22.0 and Bouncy Castle 1.80 to 1.84.

[1.6.0]

  • Add RSA-SHA256 signatures.
  • Accept PKCS#8 private keys in addition to PKCS#1.

[1.5.6]

  • First release as net.clojars.savya/clj-oauth.
  • Release HMAC-SHA256 support.
  • Move to current Bouncy Castle, commons-codec, clj-http, and Clojure versions.

Can you improve this documentation?Edit on GitHub

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close