gazepass integration
1
2
3
4
5
6
7
8
9
10
<script type="text/javascript"
src="https://unpkg.com/[email protected]/dist/gazepass.js"></script>
<script type="text/javascript">
async function gazepassSignIn() {
var gp = new gazepassjs.default("<insert API key>");
var access_token = await gp.getAccessToken();
// Verify access token on your backend/server
}
</script>
<button onclick="gazepassSignIn()">Passwordless Sign In</button>