Skip to content

Commit 4c47e4f

Browse files
committed
CMR-11630: note the test token is a sample
1 parent bebd111 commit 4c47e4f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎transmit-lib/test/cmr/transmit/test/token_denylist.clj‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
(.encodeToString (.withoutPadding (Base64/getUrlEncoder))
3333
(.getBytes "{\"typ\":\"JWT\",\"origin\":\"Earthdata Login\",\"alg\":\"RS256\"}")))
3434

35+
;; Sample token, safe for use in tests: a made-up header and the payload {"uid":"u1"}, never signed.
3536
(def ^:private signed (str edl-header ".eyJ1aWQiOiJ1MSJ9"))
3637

3738
(deftest token-hash-test

0 commit comments

Comments
 (0)