check-sso or login

This commit is contained in:
2024-02-21 17:38:22 +03:00
parent c38f31b0ff
commit db6c735fdc
2 changed files with 7 additions and 4 deletions

View File

@@ -14,6 +14,7 @@ const start = async () => {
console.log(`User is ${authenticated ? 'authenticated' : 'not authenticated'}`);
} catch (error) {
console.error('Failed to initialize adapter:', error);
keycloak.login();
}
}