Keycloak - Creating Users - Administration REST API

Поділитися
Вставка
  • Опубліковано 16 січ 2025

КОМЕНТАРІ • 58

  • @abessesmahi4888
    @abessesmahi4888 2 роки тому +6

    Great content
    Please keep uploading more content on Keyclock
    Thank you so much for your efforts

  • @Nexus9997
    @Nexus9997 Рік тому +4

    Thanks for this video.
    You can do this without changing anything from master realm, but this is a bit hidden :
    Select the client from your realm -> service account roles -> assign roles -> Filter by clients -> You can assign manage-users.
    If you don't see it, increase the number of items per page.

  • @jeroenhartsuiker
    @jeroenhartsuiker 2 роки тому +1

    Thank you for this very clear and helpful video on Keycloak, Arthur..!

  • @thiagoDevel
    @thiagoDevel 2 роки тому +2

    Your content demonstrating how to use Keycloak's Admin REST API via Oauth2/OIDC Client Credentials flow to perform admins tasks (like create a realm user) is one of the most updated an complete practical explanations available out there. Congratulations Arthur!
    I'm happy to be your channel new subscriber :)

    • @mugume
      @mugume  2 роки тому +1

      thank you so much Thiago for your kind comment

  • @luizamilitao3488
    @luizamilitao3488 Рік тому

    Thanks for the video, it helped me solve my problem on my project!
    Keep the great work!

  • @kvnagendra5354
    @kvnagendra5354 2 роки тому +2

    Great video.. keep making more n more on keycloak

    • @mugume
      @mugume  2 роки тому

      thank you @Kv

  • @cherrydean685
    @cherrydean685 2 роки тому +1

    Thank you so much for your great demostration, it helps me a lot!

  • @robertmnganya7533
    @robertmnganya7533 2 роки тому +1

    Thank you for excellent tutorials

  • @BuddhiVikasitha
    @BuddhiVikasitha 2 роки тому

    Superb, love from Sri Lanka

  • @fjspitz
    @fjspitz 2 роки тому

    You save my day! Thanks for sharing and keep going! Great content.

  • @shariful-islam-2008
    @shariful-islam-2008 2 роки тому

    Very useful and precise content. You just saved my day. Thanks

  • @apsaraj1
    @apsaraj1 10 місяців тому +1

    Thank you for this video.

  • @themask7786
    @themask7786 2 роки тому

    Thank you so much for sharing! ❤

  • @wulfhound2859
    @wulfhound2859 2 роки тому +1

    you say use it in the master realm, but a realm is specified for each application, so how would one add a user using another realm then the master realm?

    • @dishijain
      @dishijain 2 роки тому

      I have the same query. As I have multiple realms and I want each realm to have the capability to manage its users.

  • @самыйлогичныйчел
    @самыйлогичныйчел 2 роки тому

    huge thanks, so many help me

  •  2 роки тому

    I can't change the attribute "enabled" sendind a request from Spring Boot to the Rest Api of Keycloak. What should I take into account to do it? When I use Postman, everything is fine, but in my code I can only get access token and I can't send request to Rest Api, it returns 401 error.

  • @JeffersonBienAime
    @JeffersonBienAime Місяць тому

    Thank you very much for this. Can you share your postman collection?

  • @kudzanayitakaendesa8306
    @kudzanayitakaendesa8306 2 роки тому

    Thanks so much. Great tutorial

  • @nathanfirmo
    @nathanfirmo 8 місяців тому

    Works for me! Thx!!!

  • @HosseinOjvar
    @HosseinOjvar 2 роки тому

    Thank you, You save my day

  • @zakariaachaghour7166
    @zakariaachaghour7166 Рік тому

    thanks for the tuto. about V20 or V19 have you done it ??

  • @ismailbouaziz3175
    @ismailbouaziz3175 2 роки тому +1

    Great content

  • @thecodewhiz526
    @thecodewhiz526 2 роки тому +1

    Is there any reason why you use Keycloak 17.0 instead of the latest (Keycloak 19.03)?

    • @mugume
      @mugume  2 роки тому

      @thecodewhiz, no. It is just that v19.. wasn't out at the time

  • @raghugrinus4779
    @raghugrinus4779 2 роки тому +4

    can you add how to update the roles as well

    • @mugume
      @mugume  2 роки тому

      @Raghu Let me see if I can get sometime to make one. Thanks for watching

  • @theunknowngyani3660
    @theunknowngyani3660 Рік тому

    Great video. it worked. However can you please post a video that how to enable "/auth/" from the config. Thanks :)

  • @djoleezcool
    @djoleezcool 2 роки тому +1

    Hi man, first of all thanks for the video!
    One question, can we pass user role in the same request when we creating the user?

  • @avimehenwal
    @avimehenwal 2 роки тому

    great video, I have a question. We want to create a webapp (AUTH powered by Keycloak), and I wanted to check and know if it would be possible to create new roles and users from our frontend application in keycloak ? What would be required on frontend application to be able to do so ?
    Super thankyou, god bless you

  • @lokeshshukla9370
    @lokeshshukla9370 Рік тому

    Is there any API to create bulk users

  • @devchri
    @devchri 2 роки тому

    Hi Arthur, great content! Super helpful.
    Question: will it be the same process for updating or editing a user profile?

  • @jerryodhiambo4136
    @jerryodhiambo4136 2 роки тому +1

    Good stuff Arthur. Really helpful.
    Just a quick question. How would i update the expiry time of my token?

    • @ismailbouaziz3175
      @ismailbouaziz3175 2 роки тому +2

      In your admin console click on >Realm Settings>Tokens and change your token settings.

  • @zhenobiikuzo4957
    @zhenobiikuzo4957 2 роки тому

    can we do it without using bearer token?

  • @harris-u3s
    @harris-u3s Рік тому

    Can you share how to create a user in LDAP using postman with Sync User Registration enabled in Keycloak?

  • @romanmed9035
    @romanmed9035 2 роки тому +1

    for do it need admin secret. can users self register as show?

    • @mugume
      @mugume  2 роки тому

      you can still do this without Admin. I will upload some more tutorials

    • @romanmed9035
      @romanmed9035 2 роки тому

      @@mugume thanks for answere

  • @amazinggracechoirkabugaoff7176
    @amazinggracechoirkabugaoff7176 2 роки тому

    hello!
    help me to add other field in auth response!

  • @navaminleelarburanathanako3025
    @navaminleelarburanathanako3025 2 роки тому

    Hey Arthur, thanks for the tutorial. Everything is running perfect on Postman but when I try to make an Axios post request to get the token from the master realm, the request gets blocked by the CORS policy. I tried changing the Web Origins to '*' on both the master admin-cli and my client in my other realm. Nothing has worked, do you have any idea how to fix this?

    • @mugume
      @mugume  2 роки тому

      hello Navamin, sorry been away. Hope you managed to solve this.

  • @shehangamage2892
    @shehangamage2892 2 роки тому

    Can you show how to do this on Keycloak v19?

  • @abhisheksingh-techwizabhi
    @abhisheksingh-techwizabhi 2 роки тому +2

    How to create user using keycloak builder ??? ( Keycloak admin client ) dependency

    • @djoleezcool
      @djoleezcool 2 роки тому

      What language you are using ?

    • @abhisheksingh-techwizabhi
      @abhisheksingh-techwizabhi 2 роки тому

      @@djoleezcool java - spring boot ( monolithic )

    • @djoleezcool
      @djoleezcool 2 роки тому +1

      @@abhisheksingh-techwizabhi I cannot reply to you because YT does not allow links in comments.
      Repo on git is: akgup/keycloak-springboot

  • @dpkbahugunaTube
    @dpkbahugunaTube 2 роки тому

    I am getting this -->
    {
    "error": "RESTEASY003065: Cannot consume content type"
    }

  • @aayvyas
    @aayvyas 2 роки тому

    100th sub claps

  • @crowdtweet
    @crowdtweet 2 роки тому

    [io.undertow.request] (default task-1) UT005071: Undertow request failed HttpServerExchange{ GET /auth/}: java.io.IOError: java.io.FileNotFoundException: Invalid file path
    That error I am getting how can i solve this

    • @mugume
      @mugume  2 роки тому

      @CrowdTweet, did you resolve this? need more details in order to help

    • @crowdtweet
      @crowdtweet 2 роки тому

      @@mugume not yet

    • @mugume
      @mugume  2 роки тому

      what Keycloak version are you using? how does your keycloak configuration file look like?

  • @crowdtweet
    @crowdtweet 2 роки тому +1

    [io.undertow.request] (default task-1) UT005071: Undertow request failed HttpServerExchange{ GET /auth/}: java.io.IOError: java.io.FileNotFoundException: Invalid file path
    That error I am getting when try to run on browser

    • @mugume
      @mugume  2 роки тому

      @CrowdTweet, thanks for following the tutorial.
      How does your keycloak configuration file look like? you could share if you don't mind we see.

    • @crowdtweet
      @crowdtweet 2 роки тому

      @@mugume Sure I will share you the screen shot and I dont know why its working in my one system while not working in other system
      drive.google.com/drive/folders/1DbZ0gi_XcAH2rgaipPHYiJlXsqFMk5Gt?usp=sharing