Created
July 19, 2019 14:23
-
-
Save guzmonne/c5ba71c16bb1abefbf6431e6280653f7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Welcome() { | |
return ( | |
<div> | |
Welcome {keycloak.idTokenParsed.name}! | |
<button onClick={() => keycloak.accountManagement()}> | |
Account | |
</button> | |
<button onClick={() => keycloak.logout()}> | |
Logout | |
</button> | |
</div> | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment