Widget:RegistrationButton
From LINKS Community Center
<script src="https://idm.safetyid.eu/auth/js/keycloak.js"></script> <script> function initKeycloak() { var keycloak = new Keycloak(); keycloak.init().then(function(authenticated) { alert(authenticated ? 'authenticated' : 'not authenticated'); }).catch(function() { alert('failed to initialize'); }); } </script>
<script type="text/javascript">
initKeycloak()
</script>