Keycloak API in less than 15 minutes

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

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

  • @code-215
    @code-215  Год назад +1

    Thank you for watching this video. Please feel free to buy me a coffee www.buymeacoffee.com/Code215

  • @JasonMansfield-l3s
    @JasonMansfield-l3s 10 месяцев назад

    Awesome tutorial man! Every other Keycloak API video completely skips the roleMapping required to even access the API. Thank You!

    • @code-215
      @code-215  10 месяцев назад

      Glad I could help

  • @abessesmahi4888
    @abessesmahi4888 Год назад

    Looking forward for upcoming tuts
    Thank you so much for your efforts.

  • @ibrexg
    @ibrexg Год назад

    Thanks for your effort. It would be nice to make tutorials to show using the api similar to cli e.g. create realm, clients, realm roles,realm users, ..etc

  • @Mfbzai
    @Mfbzai 9 месяцев назад

    Looking forward for keycloak serial

  • @ObjectifOfChampion
    @ObjectifOfChampion Год назад

    thank you so much this is very helpful

    • @code-215
      @code-215  Год назад

      Glad it was helpful!

  • @douglasbraga1918
    @douglasbraga1918 Год назад

    nice, man!! thank you!!

  • @bluex217
    @bluex217 4 месяца назад

    Thank you! So since a Keycloak User is bound to a realm and not a client, am I correct in saying that you would just create this Client with only password credential type in your video for your backend say spring boot microservice in order for it to reach Keycloak's API endpoints , and then you create ANOTHER Keycloak client in the same realm which uses like authorization code grant flow or maybe PKCE enhanced, and that user will still exist under that client used for frontend -> keycloak login page -> redirect uri with auth code -> access token ???

  • @AntonioCabralNumberOne
    @AntonioCabralNumberOne 7 месяцев назад +1

    Hi! Great work, nevertheless I'm having issues with a slight newer version of Keycloak, namely the 23.0.4 which has an almost identical UI as your version.
    In my case when I configure the client on the "Capability config" to have ON the Client Authentication and Authorization (and having only the "Service accounts roles" on by default), what happens is that the service-account-my-bogus-client user is not created (or at least doesn't show up in the user list).
    When I generate the JWT exists this: "preferred_username": "service-account-my-bogus-client".
    When I try to create manually that user Keycloak says that the user cannot be created as it exists already.
    Now I'm very confused as I have no idea how to configure that user to e.g. create a new user through the Keycloak's API.
    Any ideas?
    Keep up the excellent work, it's priceless what you've been posting for us!

    • @code-215
      @code-215  7 месяцев назад +2

      Go to Clients -> . Click on the Service accounts roles tab and click on Assign role. In the dropdown select 'Filter by clients' and assign the 'manage-users' role to your client

    • @AntonioCabralNumberOne
      @AntonioCabralNumberOne 7 месяцев назад

      @@code-215 Thank you so much!

  • @lieslies9521
    @lieslies9521 Год назад

    thank you so much ,please i have question how can i give permission to user to give role juste to specific client thanks in advance