Add more insight
This commit is contained in:
parent
b6f7521130
commit
0169d54eb7
2 changed files with 18 additions and 16 deletions
|
|
@ -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>
|
||||
</>
|
||||
:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue