aboutsummaryrefslogtreecommitdiffstats
path: root/src/App/App.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/App/App.tsx')
-rw-r--r--src/App/App.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/App/App.tsx b/src/App/App.tsx
index a89eb9e..c0f9222 100644
--- a/src/App/App.tsx
+++ b/src/App/App.tsx
@@ -43,7 +43,7 @@ function ContextualizedApp() {
oidcClient.isUserLoggedIn ?
<>
<h1>You are authenticated !</h1>
- <pre style={{ textAlign: "left" }}>{JSON.stringify(jwt_decode(oidcClient.accessToken), null, 2)}</pre>
+ <pre style={{ textAlign: "left" }}>{JSON.stringify(jwt_decode(oidcClient.getAccessToken()), null, 2)}</pre>
<button onClick={() => oidcClient.logout({ redirectTo: "home" })}>Logout</button>
</>
: