Skip to content

Commit 2af11c5

Browse files
committed
Merge pull request jsonwebtoken#126 from zackify/patch-1
grammar fix
2 parents 89f88bb + d37f952 commit 2af11c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

views/md/introduction.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ The following diagram shows this process:
114114

115115
Let's talk about the benefits of **JSON Web Tokens (JWT)** comparing it to **Simple Web Tokens (SWT)** and **Security Assertion Markup Language Tokens (SAML)**.
116116

117-
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.
117+
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.
118118

119119
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.
120120

@@ -126,4 +126,4 @@ Regarding usage, JWT is used at an Internet scale. This highlights the ease of c
126126
_Comparison of the length of an encoded JWT and an encoded SAML_
127127

128128

129-
If you want to read more about JSON Web Tokens and even start using them to perform authentication in your own applications, browse to the [JSON Web Token landing page](http://auth0.com/learn/json-web-tokens) in Auth0.
129+
If you want to read more about JSON Web Tokens and even start using them to perform authentication in your own applications, browse to the [JSON Web Token landing page](http://auth0.com/learn/json-web-tokens) in Auth0.

0 commit comments

Comments
 (0)