Integrate mosparo into keycloak #187
Replies: 6 comments 17 replies
-
|
Thank you very much for your question. The hCaptcha provider is a perfect example how to do it. In general, it must be possible to configure the connection to a mosparo installation (like in the hCaptcha configuration screen https://github.com/p08dev/keycloak-hcaptcha/blob/master/img/step-03.png). After that, the mosparo frontend code must be added to the template. I guess that's done here: https://github.com/p08dev/keycloak-hcaptcha/blob/master/img/step-05.png And then, the code must connect the settings with the template (providing all the required information from the config page to the template). Of course, the code must verify the data with the mosparo installation. That's done in the code here, I guess: https://github.com/p08dev/keycloak-hcaptcha/blob/master/src/main/java/de/itrupp/p8/keycloak/authenticator/RegistrationhCaptcha.java#L156 If you're a developer, we can work through the creation of an integration for Keycloak. If you're not a developer, that's fine. I will have a closer look at it in the next few days. Kind regards, zepich |
Beta Was this translation helpful? Give feedback.
-
|
Had some rebase-troubles... I also pushed the repo to github as mirror. And now i will update the README. Thank you for your work and help. @zepich |
Beta Was this translation helpful? Give feedback.
-
|
I've a new problem with mosparo. What i see is, the mosparo javascript "mosparo-frontend.js" loads successfully. But the script is not executed and the fields, for example _mosparo_validationToken is not created. In case of that, the mosparo-validation fails in keycloak. Maybe a keycloak-update broke this flow. So... the same... hcaptcha-flow must be broken too? |
Beta Was this translation helpful? Give feedback.
-
|
could solve it. Changed it in the readme of my repo. https://github.com/xundeenergie/keycloak-mosparo |
Beta Was this translation helpful? Give feedback.
-
|
Thank you very much for your post. I guess the frontend JavaScript initialization code was missing or had a problem, correct? Or what was exactly the problem (just that others know what they have to do if they experience the same issue)? Kind regards, zepich |
Beta Was this translation helpful? Give feedback.
-
|
Yes. I forgot to modify the theme in the jar-file... And i had to add "https://" in front of {mosparoHost}, because it redirected it to suburl under my keycloak. now it works |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
I did not find any information, how to integrate mosparo into keycloak as alternative to googles recapchta.
I found one for hcaptcha https://github.com/p08dev/keycloak-hcaptcha but i have no idea, how to do this for mosparo.
Beta Was this translation helpful? Give feedback.
All reactions