Last active
November 12, 2021 22:28
-
-
Save thivi/12077dc5463515af34875c7476093dc4 to your computer and use it in GitHub Desktop.
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Asgardeo SPA SDK - Sample</title> | |
<meta charset="UTF-8" /> | |
<link | |
href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" | |
rel="stylesheet" | |
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" | |
crossorigin="anonymous" | |
/> | |
</head> | |
<body> | |
<div | |
id="app" | |
class="vh-100 d-flex flex-column justify-content-center container" | |
> | |
<div id="authenticated" style="display: none;"> | |
<div> | |
<h2 id="welcome">Hello</h2> | |
</div> | |
<div id="message"> | |
<h6>You've successfully authenticated yourself!</h6> | |
</div> | |
</div> | |
<div id="unauthenticated"> | |
<h6>You need to log in to use this application.</h6> | |
<button onclick="login()" class="btn btn-primary">Login</button> | |
</div> | |
</div> | |
<script src="index.js"></script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment