Skip to content

Commit cd57ecb

Browse files
committed
More formatting and intro on JWTs
1 parent 56ff990 commit cd57ecb

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

src/Pages/Home/JwtDecoder/JwtDecoder.cshtml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,12 @@
1414
Using this tool, you can decode and validate JSON Web Tokens (JWTs) issued by IdentityServer or another token issuer.
1515
</p>
1616
<p>
17-
TODO more information about JWTs, link to RFC 7519, our docs...
17+
A JSON Web Token (JWT) is a compact, URL-safe means of representing claims to be transferred between two parties.
18+
It is commonly used for authentication and information exchange in web applications.
19+
A JWT consists of three parts: a header, a payload, and a signature, separated by dots.
20+
<br />
21+
<br />
22+
For more details, see <a href="https://datatracker.ietf.org/doc/html/rfc7519" target="_blank">RFC 7519</a>.
1823
</p>
1924
<div class="alert alert-warning d-flex align-items-center">
2025
<i class="glyphicon glyphicon-exclamation-sign" style="font-size: 3em" title="Warning"></i>

src/wwwroot/css/site.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ a.navbar-brand .icon-banner {
133133
.jwt-decoder-container .jwt-input-editable .text-warning {
134134
color: rgb(245.7438016529, 201.7768595041, 124.2561983471) !important;
135135
}
136-
.jwt-decoder-container .json-content {
136+
.jwt-decoder-container .json-content, .jwt-decoder-container .jwt-input-editable {
137137
font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
138138
font-size: 1em;
139139
}

src/wwwroot/css/site.min.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.

src/wwwroot/css/site.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ a.navbar-brand {
156156
}
157157
}
158158

159-
.json-content {
159+
.json-content, .jwt-input-editable {
160160
font-family: SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
161161
font-size: 1em;
162162
}

0 commit comments

Comments
 (0)