added Keycloak

This commit is contained in:
2024-06-11 20:43:52 +02:00
parent 0667d96de3
commit 36ca8c76d3
6 changed files with 117 additions and 5 deletions

View File

@@ -0,0 +1,10 @@
import Keycloak from "keycloak-js";
const keycloak = new Keycloak({
url: "https://keycloak.anxietyprime.de/",
realm: "Jodel",
clientId: "jodel-frontend",
});
keycloak.init({ onLoad: 'login-required' }).then((authenticated) => {});
export default keycloak;