Skip to content

Commit

Permalink
docs: explain how to export public key from JWKS (#1611)
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr authored Jan 8, 2024
1 parent fb7acce commit af34005
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/identities/session-to-jwt-cors.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,15 @@ For more details see the [API documentation](../reference/api#tag/frontend/opera
</Tabs>
````

To verify the resulting JSON Web Token, export the public key from the JSON Web Key Set and use it to verify the token:

```shell
ory get jwk some-example-set \
--public \
--project {project.id} --format json-pretty \
> es256-public.jwks.json
```

## JSON Web Token templates

Now that you have seen how this feature works in practice, let's look at how to configure it in detail. Before issuing a JWT for a
Expand Down

0 comments on commit af34005

Please sign in to comment.