From 0df308c4a6595fc76d12a1256cb26008b949f848 Mon Sep 17 00:00:00 2001 From: Livio Spring Date: Wed, 31 Jan 2024 16:30:54 +0100 Subject: [PATCH] fix example --- README.md | 1 + src/components/Callback.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d0595b5..090434c 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,7 @@ To run the example, navigate to the `/lib` folder and run `yarn build`. ```bash cd /lib +yarn install yarn build ``` diff --git a/src/components/Callback.tsx b/src/components/Callback.tsx index c7e5fc5..ac13cbd 100644 --- a/src/components/Callback.tsx +++ b/src/components/Callback.tsx @@ -61,7 +61,7 @@ const Callback = ({ Roles:{" "} {JSON.stringify( userInfo.profile[ - "urn:zitadel:iam:org:project:251288942656156695:roles" + "urn:zitadel:iam:org:project:roles" ] )}