Skip to content

Commit 27d28c0

Browse files
committed
Merge pull request jsonwebtoken#132 from jsonwebtoken/perl
perl
2 parents 2cc5a74 + 09e5891 commit 27d28c0

File tree

6 files changed

+23
-60
lines changed

6 files changed

+23
-60
lines changed

css/app.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

img/19.svg

Lines changed: 15 additions & 56 deletions
Loading

index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

introduction/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ <h2 id="how-do-json-web-tokens-work-">How do JSON Web Tokens work?</h2>
8383
<p><img src="https://cdn.auth0.com/content/jwt/jwt-diagram.png" alt="How does a JSON Web Token works"></p>
8484
<h2 id="why-should-we-use-json-web-tokens-">Why should we use JSON Web Tokens?</h2>
8585
<p>Let&#39;s talk about the benefits of <strong>JSON Web Tokens (JWT)</strong> comparing it to <strong>Simple Web Tokens (SWT)</strong> and <strong>Security Assertion Markup Language Tokens (SAML)</strong>.</p>
86-
<p>As JSON is less verbose than XML, when it is encoded is size is also smaller; making JWT more compact than SAML. This makes JWT a good choice to be passed in HTML and HTTP environments.</p>
86+
<p>As JSON is less verbose than XML, when it is encoded its size is also smaller; making JWT more compact than SAML. This makes JWT a good choice to be passed in HTML and HTTP environments.</p>
8787
<p>Security-wise, SWT can only be symmetric signed by a shared secret using the HMAC algorithm. While JWT and SAML tokens can also use a public/private key pair in the form of a X.509 certificate to sign them. However, signing XML with XML Digital Signature without introducing obscure security holes is very difficult compared to the simplicity of signing JSON.</p>
8888
<p>JSON parsers are common in most programming languages, because they map directly to objects, conversely XML doesn&#39;t have a natural document-to-object mapping. This makes it easier to work with JWT than SAML assertions.</p>
8989
<p>Regarding usage, JWT is used at an Internet scale. This highlights the ease of client side processing of the JSON Web token on multiple platforms, especially, mobile.</p>

js/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ function poll() {
176176

177177
function updateNumberOfLogins(callback) {
178178
$.ajax({
179-
url: "//metrics.it.auth0.com/counters",
179+
url: "https://webtask.it.auth0.com/api/run/auth0/proxy?url=http://metrics.it.auth0.com/counters",
180180
cache: false
181181
}).done(function(response) {
182182
numberOfLogins = response.logins;

stylus/app.styl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -674,6 +674,10 @@ body
674674
&.jwt-delphi
675675
.panel-heading h3
676676
background-color #E31C23
677+
&.jwt-perl
678+
.panel-heading h3
679+
background-color #3B477A
680+
677681

678682
.panel-heading
679683
img

0 commit comments

Comments
 (0)