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