|
3 | 3 |
|
4 | 4 | <div class="jwt-decoder-page">
|
5 | 5 | <h2 id="jwt-decoder" style="scroll-margin-top: 3em;">JSON Web Token (JWT) Decoder</h2>
|
6 |
| - <p class="lead"> |
7 |
| - Using this tool, you can decode and validate JSON Web Tokens (JWTs) issued by IdentityServer or another token issuer. |
8 |
| - </p> |
9 |
| - <p> |
10 |
| - A JSON Web Token (JWT) is a compact, URL-safe means of representing claims to be transferred between two parties. |
11 |
| - It is commonly used for authentication and information exchange in web applications. |
12 |
| - A JWT consists of three parts: a header, a payload, and a signature, separated by dots. |
13 |
| - <br /> |
14 |
| - <br /> |
15 |
| - For more details, see <a href="https://datatracker.ietf.org/doc/html/rfc7519" target="_blank">RFC 7519</a>. |
16 |
| - </p> |
| 6 | + <div id="intro"> |
| 7 | + <p class="lead"> |
| 8 | + Using this tool, you can decode and validate JSON Web Tokens (JWTs) issued by IdentityServer or another token issuer. |
| 9 | + </p> |
| 10 | + <p> |
| 11 | + A JSON Web Token (JWT) is a compact, URL-safe means of representing claims to be transferred between two parties. |
| 12 | + It is commonly used for authentication and information exchange in web applications. |
| 13 | + A JWT consists of three parts: a header, a payload, and a signature, separated by dots. |
| 14 | + <br /> |
| 15 | + <br /> |
| 16 | + For more details, see <a href="https://datatracker.ietf.org/doc/html/rfc7519" target="_blank">RFC 7519</a>. |
| 17 | + </p> |
| 18 | + </div> |
17 | 19 | <div class="alert alert-warning d-flex align-items-center">
|
18 | 20 | <i class="glyphicon glyphicon-exclamation-sign" style="font-size: 3em" title="Warning"></i>
|
19 | 21 | <div class="mx-3">
|
|
290 | 292 | $('.row-jwt').removeClass('align-items-stretch');
|
291 | 293 | $('.col-jwt').removeClass('col-md-6');
|
292 | 294 | $('#jwt-input').parent().removeClass('flex-grow-1');
|
| 295 | + $('#intro').addClass('d-none'); |
293 | 296 | }
|
294 | 297 | else {
|
295 | 298 | $('.row-jwt').addClass('align-items-stretch');
|
296 | 299 | $('.col-jwt').addClass('col-md-6');
|
297 | 300 | $('#jwt-input').parent().addClass('flex-grow-1');
|
| 301 | + $('#intro').removeClass('d-none'); |
298 | 302 | }
|
299 | 303 | }
|
300 | 304 |
|
|
0 commit comments