Skip to content

Commit

Permalink
SEP-45: Fix typo and update example JWT
Browse files Browse the repository at this point in the history
  • Loading branch information
philipliu committed Jan 17, 2025
1 parent 4aa5926 commit 734367e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ecosystem/sep-0045.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ contract account ownership verification, for example, to upload KYC information
described in [SEP-12](sep-0012.md).

This SEP is based on [SEP-10](sep-0010.md), but does not replace it. This SEP only supports `C` (contract) accounts.
SEP-10 only `G` and `M` accounts. Services wishing to support all accounts should implement both SEPs.
SEP-10 only support `G` and `M` accounts. Services wishing to support all accounts should implement both SEPs.

## Definitions

Expand Down Expand Up @@ -334,12 +334,12 @@ Example:

```json
{
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJsb2NhbGhvc3Q6ODA4MCIsInN1YiI6IkNEQjRBVTM0WE9FU1BIT1lNVkM0TVpRWUZXNkxCUFlHNVZSR08yT1dCVlI0NkdPQUFJQklRNEdEIiwiaWF0IjoxNzM0Mzg3NzkyLCJleHAiOjE3MzQzODgwOTIsImp0aSI6ImMzZDhiZjc3MGZjNTVkZGZiYTYzYmM5Njg3NjkwNTg4ZWFjNWNiNmVmYTY1ZTQwNzRhY2UzODM4YTk4MTM5ZmMiLCJob21lX2RvbWFpbiI6ImxvY2FsaG9zdDo4MDgwIn0.DyQQ75Kv9sKlXbj6K1L3xoNGcLL9lUmWaLrwHxp3Z9A"
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJsb2NhbGhvc3Q6ODA4MCIsInN1YiI6IkNDTEhCVVJZTzRCMkpGVTRZQlpVUVpLSlEyWjM3MjNEUFhUV1U2WURQWE40VFozS0hWUTdOT1VMIiwiaWF0IjoxNzM3MTQyMjI0LCJleHAiOjE3MzcxNDI1MjQsImp0aSI6IjI2MWQ3ZjAyMzljOTMxMDVmMmU1NGJjMWZkYzk2OGY5ZTY4MTUyOTQ1MjljMjQwZDgxMzgwY2U3MGQyYzUyMjAiLCJob21lX2RvbWFpbiI6ImxvY2FsaG9zdDo4MDgwIn0.WrtL94Erny9DpfXehA0dfnpmNvDPPuh3_0oxAT16xuw"
}
```

Check the example session token on
[JWT.IO](https://jwt.io/#debugger-io?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJHQTZVSVhYUEVXWUZJTE5VSVdBQzM3WTRRUEVaTVFWREpIREtWV0ZaSjJLQ1dVQklVNUlYWk5EQSIsImp0aSI6IjE0NGQzNjdiY2IwZTcyY2FiZmRiZGU2MGVhZTBhZDczM2NjNjVkMmE2NTg3MDgzZGFiM2Q2MTZmODg1MTkwMjQiLCJpc3MiOiJodHRwczovL2ZsYXBweS1iaXJkLWRhcHAuZmlyZWJhc2VhcHAuY29tLyIsImlhdCI6MTUzNDI1Nzk5NCwiZXhwIjoxNTM0MzQ0Mzk0fQ.8nbB83Z6vGBgC1X9r3N6oQCFTBzDiITAfCJasRft0z0).
[JWT.IO](https://jwt.io/#debugger-io?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJsb2NhbGhvc3Q6ODA4MCIsInN1YiI6IkNDTEhCVVJZTzRCMkpGVTRZQlpVUVpLSlEyWjM3MjNEUFhUV1U2WURQWE40VFozS0hWUTdOT1VMIiwiaWF0IjoxNzM3MTQyMjI0LCJleHAiOjE3MzcxNDI1MjQsImp0aSI6IjI2MWQ3ZjAyMzljOTMxMDVmMmU1NGJjMWZkYzk2OGY5ZTY4MTUyOTQ1MjljMjQwZDgxMzgwY2U3MGQyYzUyMjAiLCJob21lX2RvbWFpbiI6ImxvY2FsaG9zdDo4MDgwIn0.WrtL94Erny9DpfXehA0dfnpmNvDPPuh3_0oxAT16xuw).

Every other HTTP status code will be considered an error. For example:

Expand Down

0 comments on commit 734367e

Please sign in to comment.