Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
garronej committed Jan 3, 2024
1 parent dffbff0 commit 3d12265
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions examples/react-router/src/oidc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ export const { useOidc } = createUseOidc({
* It allows you to validate the shape of the idToken so that you
* can trust that oidcTokens.decodedIdToken is of the expected shape
* when the user is logged in.
* What is actually inside the idToken is defined by the OIDC server
* you are using.
* If you are not sure, you can copy the content of oidcTokens.idToken
* and paste it on https://jwt.io/ to see what is inside.
*
* The usage of zod here is just an example, you can use any other schema
* validation library or write your own validation function.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oidc-spa",
"version": "3.0.0",
"version": "3.0.1",
"description": "Openidconnect client for Single Page Applications",
"repository": {
"type": "git",
Expand Down

0 comments on commit 3d12265

Please sign in to comment.