-
Notifications
You must be signed in to change notification settings - Fork 379
Expand file tree
/
Copy pathindex.php
More file actions
36 lines (30 loc) · 1.51 KB
/
Copy pathindex.php
File metadata and controls
36 lines (30 loc) · 1.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?php
$page_title = "JSON Web Tokens for OAuth 2.0";
$page_section = "";
$page_secondary = "";
$page_meta_description = "JWT - JSON Web Token - RFC7519";
require('../../../includes/_header.php');
?>
<div class="container">
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="/2/">OAuth 2.0</a></li>
<li class="breadcrumb-item active">JWT</li>
</ol>
</nav>
<div>
<h2>RFC 7519: JSON Web Token</h2>
<p><a href="https://tools.ietf.org/html/rfc7519" class="rfc">tools.ietf.org/html/rfc7519</a></p>
<p>JSON Web Token (JWT, <a href="https://tools.ietf.org/html/rfc7519">RFC 7519</a>) is a way to encode claims in a JSON document that is then signed.</p>
<p>JWTs can be used as OAuth 2.0 <a href="/2/bearer-tokens/">Bearer Tokens</a> to encode all relevant parts of an access token into the access token itself instead of having to store them in a database.</p>
<p>More resources
<ul>
<li><a href="https://www.oauth.com/oauth2-servers/access-tokens/self-encoded-access-tokens/">Self-Encoded Access Tokens</a> (oauth.com)</li>
<li><a href="https://www.jsonwebtoken.io/">jsonwebtoken.io</a></li>
<li><a href="https://auth0.com/docs/jwt">JSON Web Tokens (JWT) in Auth0</a> (auth0.com)</li>
<li><a href="https://developer.okta.com/blog/2019/02/04/create-and-verify-jwts-in-php">Create and Verify JWTs in PHP</a> (developer.okta.com)</li>
</ul>
</p>
</div>
</div>
<?php require('../../../includes/_footer.php'); ?>