Better formating
This commit is contained in:
parent
09e2c2a6dd
commit
e0ce5d3885
|
@ -43,7 +43,7 @@ function ContextualizedApp() {
|
|||
oidcClient.isUserLoggedIn ?
|
||||
<>
|
||||
<h1>You are authenticated !</h1>
|
||||
<pre>{JSON.stringify(jwt_decode(oidcClient.accessToken))}</pre>
|
||||
<pre>{JSON.stringify(jwt_decode(oidcClient.accessToken), null, 2)}</pre>
|
||||
<button onClick={() => oidcClient.logout({ redirectTo: "home" })}>Logout</button>
|
||||
</>
|
||||
:
|
||||
|
|
Loading…
Reference in a new issue