Implementing Keycloak User Storage | User Federation [2024]

Поделиться
HTML-код
  • Опубликовано: 4 дек 2024

Комментарии • 16

  • @dgunjan
    @dgunjan Месяц назад

    very informative video. I am trying to use a database which is not officially supported by Keycloak. Using Custom UserStorageProvider will it be possible to do so?

    • @kstechnoworld
      @kstechnoworld  Месяц назад +1

      We are using keycloak-model-jpa library for connection. You can try to configure and test it, I feel it will work, but honestly, I have not tried.

    • @tomaszborowski4843
      @tomaszborowski4843 Месяц назад

      @@kstechnoworld please attach dockerfile as would be very helpful

  • @hammadali8748
    @hammadali8748 15 часов назад

    Hi, I tried using the provided method and using the same code. However, I'm encountering the following error in the logs:
    2024-12-04 12:24:47,880 ERROR [org.keycloak.services.error.KeycloakErrorHandler] (executor-thread-1) Uncaught server error: java.lang.RuntimeException: java.lang.NoClassDefFoundError: Could not initialize class org.hibernate.boot.archive.scan.spi.ClassFileArchiveEntryHandler
    Has anyone faced this issue? How can I resolve it?"

  • @KasunSandaruwan-ui8zc
    @KasunSandaruwan-ui8zc 26 дней назад

    Can do Add user part ?

    • @kstechnoworld
      @kstechnoworld  25 дней назад +1

      Well, adding users can be done multiple ways. For example, using keycloak admin clients, we can add users or use some external microservices. we can add users to the database

  • @TaniaKampana
    @TaniaKampana 3 месяца назад

    Have you ever implementing the UserBulkUpdateProvider, ImportedUserValidation and ImportSynchronization?

    • @kstechnoworld
      @kstechnoworld  3 месяца назад

      No, I have not tried these, but surely I may come up with one session

    • @TaniaKampana
      @TaniaKampana 3 месяца назад

      @@kstechnoworld It would be nice 🙂Thank you in advance :-)

    • @TaniaKampana
      @TaniaKampana 3 месяца назад

      @kstechnoworld Do you have any video regarding a custom provider connecting to jdbc?

  • @najminbagwan2822
    @najminbagwan2822 3 месяца назад

    Could you please also create one backend application where we have our own user and role entity and then we are securing using keycloak i.e custome user and role entity that will be great help.

    • @kstechnoworld
      @kstechnoworld  3 месяца назад

      I am sorry but not sure I understand this fully, can you explain this in detail, then might be I can help.

    • @najminbagwan2822
      @najminbagwan2822 3 месяца назад

      @@kstechnoworld means we are not creating user and role in keycloak instead we will use user and role in our database and then authenticate them with keycloak

    • @kstechnoworld
      @kstechnoworld  Месяц назад

      Hello, you can do this with Customer Storage SPI