mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-14 17:02:49 +03:00
18 lines
541 B
HTML
18 lines
541 B
HTML
<html>
|
|
<head>
|
|
<title> Firebase Auth + Hasura JWT example </title>
|
|
</head>
|
|
<body>
|
|
<h1> Firebase Auth + Hasura JWT example </h1>
|
|
<form id="login-form">
|
|
Email: <input id="email" type="email"/>
|
|
Password: <input id="password" type="password" />
|
|
<button type="submit">Login</button>
|
|
</form>
|
|
<button id="get-token"> Get ID token </button>
|
|
<div id="id-token"></div>
|
|
<script src="https://www.gstatic.com/firebasejs/5.5.3/firebase.js"></script>
|
|
<script src="main.js"></script>
|
|
</body>
|
|
</html>
|