Тёмный

Keycloak - Creating Users - Administration REST API 

Arthur D. Mugume
Подписаться 273
Просмотров 30 тыс.
50% 1

Learn how to create users in Keycloak using Keycloak's Administration REST API. We will create a user and set their credentials in an API POST request to Keycloak. We are using Keycloak version 17.0.0

Опубликовано:

 

21 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 57   
@Nexus9997
@Nexus9997 Год назад
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.
@abessesmahi4888
@abessesmahi4888 2 года назад
Great content Please keep uploading more content on Keyclock Thank you so much for your efforts
@jeroenhartsuiker
@jeroenhartsuiker 2 года назад
Thank you for this very clear and helpful video on Keycloak, Arthur..!
@thiagoDevel
@thiagoDevel 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 года назад
thank you so much Thiago for your kind comment
@kvnagendra5354
@kvnagendra5354 2 года назад
Great video.. keep making more n more on keycloak
@mugume
@mugume 2 года назад
thank you @Kv
@luizamilitao3488
@luizamilitao3488 Год назад
Thanks for the video, it helped me solve my problem on my project! Keep the great work!
@robertmnganya7533
@robertmnganya7533 2 года назад
Thank you for excellent tutorials
@cherrydean685
@cherrydean685 2 года назад
Thank you so much for your great demostration, it helps me a lot!
@BuddhiVikasitha
@BuddhiVikasitha 2 года назад
Superb, love from Sri Lanka
@apsaraj1
@apsaraj1 7 месяцев назад
Thank you for this video.
@fjspitz
@fjspitz 2 года назад
You save my day! Thanks for sharing and keep going! Great content.
@djoleezcool
@djoleezcool 2 года назад
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?
@wulfhound2859
@wulfhound2859 2 года назад
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.
@zakariaachaghour7166
@zakariaachaghour7166 Год назад
thanks for the tuto. about V20 or V19 have you done it ??
@shariful-islam-2008
@shariful-islam-2008 2 года назад
Very useful and precise content. You just saved my day. Thanks
@themask7786
@themask7786 Год назад
Thank you so much for sharing! ❤
@thecodewhiz526
@thecodewhiz526 2 года назад
Is there any reason why you use Keycloak 17.0 instead of the latest (Keycloak 19.03)?
@mugume
@mugume Год назад
@thecodewhiz, no. It is just that v19.. wasn't out at the time
@kudzanayitakaendesa8306
@kudzanayitakaendesa8306 2 года назад
Thanks so much. Great tutorial
Год назад
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.
@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
@theunknowngyani3660
@theunknowngyani3660 Год назад
Great video. it worked. However can you please post a video that how to enable "/auth/" from the config. Thanks :)
@devchri
@devchri Год назад
Hi Arthur, great content! Super helpful. Question: will it be the same process for updating or editing a user profile?
@jerryodhiambo4136
@jerryodhiambo4136 2 года назад
Good stuff Arthur. Really helpful. Just a quick question. How would i update the expiry time of my token?
@ismailbouaziz3175
@ismailbouaziz3175 2 года назад
In your admin console click on >Realm Settings>Tokens and change your token settings.
@lokeshshukla9370
@lokeshshukla9370 Год назад
Is there any API to create bulk users
@ismailbouaziz3175
@ismailbouaziz3175 2 года назад
Great content
@самыйлогичныйчел
huge thanks, so many help me
@HosseinOjvar
@HosseinOjvar 2 года назад
Thank you, You save my day
@harris-u3s
@harris-u3s Год назад
Can you share how to create a user in LDAP using postman with Sync User Registration enabled in Keycloak?
@amazinggracechoirkabugaoff7176
hello! help me to add other field in auth response!
@nathanfirmo
@nathanfirmo 5 месяцев назад
Works for me! Thx!!!
@zhenobiikuzo4957
@zhenobiikuzo4957 2 года назад
can we do it without using bearer token?
@raghugrinus4779
@raghugrinus4779 2 года назад
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
@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 Год назад
Can you show how to do this on Keycloak v19?
@dpkbahugunaTube
@dpkbahugunaTube 2 года назад
I am getting this --> { "error": "RESTEASY003065: Cannot consume content type" }
@romanmed9035
@romanmed9035 2 года назад
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
@abhisheksingh-techwizabhi
@abhisheksingh-techwizabhi 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 года назад
@@abhisheksingh-techwizabhi I cannot reply to you because YT does not allow links in comments. Repo on git is: akgup/keycloak-springboot
@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 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
@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?
Далее
Как не носить с собой вещи
00:31
Просмотров 937 тыс.
Keycloak Admin REST API | Create Users | Add Roles
24:01
Keycloak REST API with Postman
7:22
Просмотров 22 тыс.
#keycloak : User & Rôle (Partie 01)
16:22
Просмотров 2,2 тыс.
Advanced Keycloak User Mapper Techniques (2024)
12:05
Просмотров 2,5 тыс.
Keycloak API in less than 15 minutes
14:19
Просмотров 9 тыс.
Keycloak Intro
32:12
Просмотров 205 тыс.
Fullstack OAuth2 - Angular, Spring Boot & Keycloak
26:35