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.
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 :)
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?
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.
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
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?
[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
[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 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
Great content
Please keep uploading more content on Keyclock
Thank you so much for your efforts
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.
Thank you for this very clear and helpful video on Keycloak, Arthur..!
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 :)
thank you so much Thiago for your kind comment
Thanks for the video, it helped me solve my problem on my project!
Keep the great work!
Great video.. keep making more n more on keycloak
thank you @Kv
Thank you so much for your great demostration, it helps me a lot!
Thank you for excellent tutorials
Superb, love from Sri Lanka
You save my day! Thanks for sharing and keep going! Great content.
Very useful and precise content. You just saved my day. Thanks
Thank you for this video.
Thank you so much for sharing! ❤
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?
I have the same query. As I have multiple realms and I want each realm to have the capability to manage its users.
huge thanks, so many help me
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.
Thank you very much for this. Can you share your postman collection?
Thanks so much. Great tutorial
Works for me! Thx!!!
Thank you, You save my day
thanks for the tuto. about V20 or V19 have you done it ??
Great content
Is there any reason why you use Keycloak 17.0 instead of the latest (Keycloak 19.03)?
@thecodewhiz, no. It is just that v19.. wasn't out at the time
can you add how to update the roles as well
@Raghu Let me see if I can get sometime to make one. Thanks for watching
Great video. it worked. However can you please post a video that how to enable "/auth/" from the config. Thanks :)
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?
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
Is there any API to create bulk users
Hi Arthur, great content! Super helpful.
Question: will it be the same process for updating or editing a user profile?
Good stuff Arthur. Really helpful.
Just a quick question. How would i update the expiry time of my token?
In your admin console click on >Realm Settings>Tokens and change your token settings.
can we do it without using bearer token?
Can you share how to create a user in LDAP using postman with Sync User Registration enabled in Keycloak?
for do it need admin secret. can users self register as show?
you can still do this without Admin. I will upload some more tutorials
@@mugume thanks for answere
hello!
help me to add other field in auth response!
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?
hello Navamin, sorry been away. Hope you managed to solve this.
Can you show how to do this on Keycloak v19?
How to create user using keycloak builder ??? ( Keycloak admin client ) dependency
What language you are using ?
@@djoleezcool java - spring boot ( monolithic )
@@abhisheksingh-techwizabhi I cannot reply to you because YT does not allow links in comments.
Repo on git is: akgup/keycloak-springboot
I am getting this -->
{
"error": "RESTEASY003065: Cannot consume content type"
}
100th sub claps
[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
@CrowdTweet, did you resolve this? need more details in order to help
@@mugume not yet
what Keycloak version are you using? how does your keycloak configuration file look like?
[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
@CrowdTweet, thanks for following the tutorial.
How does your keycloak configuration file look like? you could share if you don't mind we see.
@@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