Want to master Clean Architecture? Go here: bit.ly/3PupkOJ Want to unlock Modular Monoliths? Go here: bit.ly/3SXlzSt
@necromancer1514 ай бұрын
As usual when observer some tools you can also provide few referecne to alternatives at the end. PS i remebr that keycloak have some limitations where you need to code own interceptor/provider
@MB-Kajtech6 ай бұрын
Great start to the series! For those wondering Keycloak is pretty widely used in government agencies for example CERN (nuclear research) and bunch of companies too.
@MilanJovanovicTech6 ай бұрын
I wasn't aware of that, but that's great to know 😁
@Stoney_Eagle6 ай бұрын
It's such a lovely thing to own your user profiles, being able to create tokens for any user or impersonate users opens many doors that cloud solutions keep closed.
@MilanJovanovicTech6 ай бұрын
A user impersonation video might be interesting, thanks for the idea
@georgeritchie44976 ай бұрын
Finally!!! I waited for it, thank you very much! I'm really looking forward to the continuation, especially how to customize the user registration process by adding event publishing and setting user role by some user inputs
@MilanJovanovicTech6 ай бұрын
You're welcome 😊 I'm still planning what to cover next, so thanks for some ideas.
@coding-in6 ай бұрын
@@MilanJovanovicTechhow to setup different user access/role , has different menu? Then different access control even in same page.
@delphiguy235 ай бұрын
Great and informative as always Milan. Im exploring this atm and this seems to be a good alternative to spinning up my own identity server. And the best thing about this is that I can self host this.
@MilanJovanovicTech5 ай бұрын
Releasing another video soon for the .NET auth integration
@romualdojunior21216 ай бұрын
Already using it in my projects with .NET 8. Great product!
@MilanJovanovicTech6 ай бұрын
It's nice
@mreshboboyev3 ай бұрын
Is it possible to connect to this via postgres? Help me!
@SalmanShafiq-q6y15 сағат бұрын
@@mreshboboyev yes u can
@chizuru19995 ай бұрын
This was what I needed. I just setup identity server on a new project. But if this is better for me then I will redo it with keycloak 😊
@MilanJovanovicTech5 ай бұрын
Awesome, glad I could help! :)
@shuvo91316 ай бұрын
Nice one Milan. Eagerly waiting for the next video of this series.
@MilanJovanovicTech6 ай бұрын
Thanks a ton
@tomek120k2 ай бұрын
Great video! I needed a quick introduction to Keycloak, thank you :)
@MilanJovanovicTech2 ай бұрын
Glad it helped!
@lucaslima-re1jhАй бұрын
It seems like an excellent free source to add an extra layer of security on top of your API, and the only downsides would be: 1 - You will need to pay to host an extra service (API + database + Keycloak), which is not a problem if you consider that paying for an auth service would be more expensive (Microsoft Entra ID, Firebase, etc.). 2 - You will likely experience some latency between your requests, as you will need to check the metadata on your Keycloak server every time. This might not be a significant issue, and you could also implement caching to mitigate this. Overall, it seems like a very good tool for developing personal projects. Thank you very much for this video.
@MilanJovanovicTechАй бұрын
1 - You can use the existing app database (if you have one) with a dedicated schema 2 - The server can cache the Keycloak metadata (which it does by default) to reduce # of round trips
@itirush27016 ай бұрын
I'm your Russian fan. you make the best content. Люблю тебя ❤
@MilanJovanovicTech6 ай бұрын
Большой привет из Сербии! :)
@itirush27016 ай бұрын
@@MilanJovanovicTech Ахахахахаха знаешь русский) Когда видео на русском ? :)
@robadobdob6 ай бұрын
The number of times you drop a video on a topic I'm looking at is uncanny.
@MilanJovanovicTech6 ай бұрын
That's a good sign 😁
@feinirl6 ай бұрын
Great video! Can't wait for more Keycloak related videos ;)
@MilanJovanovicTech6 ай бұрын
More to come!
@rickjarr6 ай бұрын
Awesome video! Hopefully we get a continuation video soon :)
@MilanJovanovicTech6 ай бұрын
Very soon!
@akashkarve19916 ай бұрын
Nice informative video. Eagerly waiting for the series. I assume it will cover common scenarios for microservices like service to service communication with valid resource scopes and way to manage them. Appreciate your efforts !!!!
@MilanJovanovicTech6 ай бұрын
I might introduce it into a microservices scenario at some point, for now I want to focus on integrating it with a .NET app
@jiM3op6 ай бұрын
i need to check this out... looking awesome
@MilanJovanovicTech6 ай бұрын
It's pretty cool. Easy to setup. You can connect it to an existing DB like Postgres, etc.
@sudidav6 ай бұрын
Thanks for that nice intro. Waiting for the next part.
@MilanJovanovicTech6 ай бұрын
Coming soon!
@kalyangupta2 ай бұрын
Wasn't aware of Keycloak . I mostly used okta . Good to know
@MilanJovanovicTech2 ай бұрын
This is like a free version where you manage everything
@ScrotoTBaggins6 ай бұрын
My employer is allergic to Java so we're stuck with Duende, but I really like how keycloak offers a UI right off the bat
@MilanJovanovicTech6 ай бұрын
If you treat it like a "black box", does it matter? 🤔
@ScrotoTBaggins6 ай бұрын
@@MilanJovanovicTechNo, it wouldn't -- had my predecessors avoided implementing wacky customizations to identityserver4, which needed to be ported to Duende in order to limit risk as idsvr4 and Duende have official version upgrade docs. But you're 100% right. A typical (and more secure) system using KeyCloak can be used, deployed, managed, etc. without ever needing to see a single line of Java.
@IVANLUISLG2 ай бұрын
Good information. Thanks for this 🙏 🙌 👍 👏😊
@MilanJovanovicTech2 ай бұрын
Sure thing!
@joehernandez32316 ай бұрын
Great video! Looking forward to more videos on Keycloak.
@MilanJovanovicTech6 ай бұрын
Coming soon!
@borislavnikolov10786 ай бұрын
Very well explained!
@MilanJovanovicTech6 ай бұрын
Thanks a lot! :)
@fluidityinmotion24525 ай бұрын
Excellent tutorial!
@MilanJovanovicTech5 ай бұрын
Thank you!
@DrachirLeromАй бұрын
Thanks, good quality video
@MilanJovanovicTechАй бұрын
You're welcome
@RadhikaJangam-ee8rl4 ай бұрын
very well explained.....Thank you 😊
@MilanJovanovicTech4 ай бұрын
Most welcome 😊
@Flanno916 ай бұрын
Great video Milan. Would love to see the backend configuration for this on a NET Core Web API!
@MilanJovanovicTech6 ай бұрын
Working on that video tomorrow, and posting in a week or two!
@zachsalt12094 ай бұрын
Great video!
@MilanJovanovicTech4 ай бұрын
Thanks!
@myschool13615 ай бұрын
part -2 is awaited
@MilanJovanovicTech5 ай бұрын
Next week :)
@sunzhang-d9v6 ай бұрын
Can you explain the framework of ABP, and explain the advantages and disadvantages?
@MilanJovanovicTech6 ай бұрын
Will consider
@flobuilds6 ай бұрын
We use keycloak too in our project
@MilanJovanovicTech6 ай бұрын
Nice!
@johnnydarwin393919 күн бұрын
Thanks for this. Which keycloak version you used for this video, please let me know. Also, do you have any other document or resource to use google credentials via keycloak for login linux servers using ssh through PAM.
@MilanJovanovicTech18 күн бұрын
I'm not sure, it could be 24/25/26 something like that
@MahmoudHassan-m2t5 ай бұрын
waiting for the next keyclock video
@MilanJovanovicTech5 ай бұрын
Recorded, comes out in a few weeks :)
@MahmoudHassan-m2t5 ай бұрын
@@MilanJovanovicTech thanks for your great effort
@vinydanylo6 ай бұрын
Nice! I just find it their documentation very confusing when running a production ready docker container =/
@MilanJovanovicTech6 ай бұрын
You and me both!
@brianmorin55475 ай бұрын
Great stuff. How about Part 2 on deploying to a cloud server with Nginx reverse proxy and SSL to support all our apps?
@MilanJovanovicTech5 ай бұрын
That might be part 3, since I already recorded part 2
@brianmorin55475 ай бұрын
@@MilanJovanovicTech Ha, nice! I went to your channel for part 2. Not uploaded yet?
@mysuperemecy6 ай бұрын
If you can show how to enable user registration then it will be great 😃
@MilanJovanovicTech6 ай бұрын
Will do, thanks for bringing that up!
@Santalucesguy6 ай бұрын
Wow I need this for a proyect I’m in. Any idea of a course I could watch??
@MilanJovanovicTech6 ай бұрын
I'm not aware of one 🤷♂️
@dRoseaK3 ай бұрын
Hey Milan, appreciate the great video. For some reason when i run the test on the KC test page, I get a "localhost" refused to connect" error. I followed all your steps in the video except my for my own local domain name
@dRoseaK3 ай бұрын
What am I doing wrong?
@MilanJovanovicTech3 ай бұрын
I have no idea, mate :)
@otisrancko6 ай бұрын
Hey Milan, Nice video...I wanted to ask how can i programmatically signup and login from a web application using KeyCloak's API?
@MilanJovanovicTech6 ай бұрын
You can use the Keycloak REST API to get a password (Password flow), and same for registering. I'll do a video about it.
@otisrancko6 ай бұрын
@@MilanJovanovicTech Thanks! That will be awesome
@nathangrosvenor76615 ай бұрын
What would you personally recommend for identity for an enterprise level application out of Keycloak, auth0, azure ad, aws cognito or creating a custom JWT based solution
@MilanJovanovicTech5 ай бұрын
Pick any of those (Keycloak, auth0, azure ad, aws cognito), but I wouldn't recommend rolling your own
@mayankJustfrnd25 күн бұрын
Hi Milan.... I also wanted use Keycloak but my use case is different. I have existing identity server and wanted to connect with Keycloak. so I can use keycloak only for authorization. how we can connect with external identity provider and ho to use user federation.
@MilanJovanovicTech25 күн бұрын
I don't know if that's possible.
@aryanrana-o6n5 ай бұрын
Can you tell me that when i click on Sign in button at 7:40 then new page open as "Unable to connect"
@MilanJovanovicTech5 ай бұрын
Most likely the redirect URIs aren't properly set (on the client)
@sreerajpsin5 ай бұрын
@MilanJovanovicTech how we can achive if we have two realm and single api for auth ? Say each relam for each tenant ? Is it even possible ?
@MilanJovanovicTech5 ай бұрын
@@sreerajpsin Yes, you would define separate authentication schemes. This is actually a great idea for a video.
@sreerajpsin5 ай бұрын
@@MilanJovanovicTech waiting
@maradasa9853 ай бұрын
Hi Milan, at 10:32 you had an error in postman, I have the same error, what could it be?
@MilanJovanovicTech3 ай бұрын
Email typo 😂
@maradasa9853 ай бұрын
@@MilanJovanovicTech Yeah, I think mine was typo on redirect
@rahulgupta42343 ай бұрын
So the docker image that is running now in local, will have to be hosted on a server like EC2 and then we can use it in Live application?
@MilanJovanovicTech3 ай бұрын
Yes
@rahulgupta42343 ай бұрын
@MilanJovanovicTech thanks.
@_Funtime60Ай бұрын
Doesn't the keycloak documentation SPECIFICALLY state NOT to use dev mode in production? Also how do you run it with a more permanent setup in docker-compose?
@MilanJovanovicTechАй бұрын
We aren't running this in production
@jeevanmanikreddy1261Ай бұрын
We are sorry... Page not found is the error. what do i do now???
@MilanJovanovicTechАй бұрын
???
@jeevanmanikreddy1261Ай бұрын
@@MilanJovanovicTech when try to access auth admin page as need to create realm, client and user.
@MrPayTune5 ай бұрын
I really want to start using Keycloak. But is it possible to style the login, register etc. Or must I create custom screens that call the keycloak api? And if so is this a good idea?
@MilanJovanovicTech5 ай бұрын
Yes, but you need a UI dev to do it
@rpreviato2 ай бұрын
Hi Milan, I'm trying to configure keycloak to run directly on the host machine with nginx and Cloudflare. Do you have any tips? I've been trying to get this working for days with no success.
@MilanJovanovicTech2 ай бұрын
My best tip is to keep trying. 😅 You're probably missing some ENV vars that makes this work behind a reverse proxy.
@barefeg5 ай бұрын
Does it support api key authentication? Meaning users can create api keys for programmatic usage of API resources protected under keycloak
@MilanJovanovicTech5 ай бұрын
Not directly. One approach I can think of is creating a dedicated (confidential) client for each user, and they'd be able to exchange it for an access token
@barefeg5 ай бұрын
Maybe creating a new Authenticator and adding the record to the db directly is the only elegant way. I need to dig a bit into the keycloak interfaces I think it should be possible, but it’s a major effort
@ehichioyaidiakhoa37463 ай бұрын
hows does docker perform on windows. i'm assuming thats where it was installed in this tutorial?
@MilanJovanovicTech3 ай бұрын
Yes. Docker Deskopt running in WSL (Linux)
@kaanakyuz58012 ай бұрын
Is there a way to put role attributes in jwt? I am currently doing this with java spring.
@MilanJovanovicTech2 ай бұрын
Roles from Keycloak directly?
@kaanakyuz58012 ай бұрын
@@MilanJovanovicTech yes there is role information in jwt but i can't get the attributes of the roles is there a way to get this
@rebeccaacheampong72393 ай бұрын
Can this be used with a VR application?
@MilanJovanovicTech3 ай бұрын
No idea, I never built one
@Emi-fg7fn5 ай бұрын
and how do you integrate it with the authorization?
@MilanJovanovicTech5 ай бұрын
Coming in another video!
@PelFox6 ай бұрын
What if you store users and hashed passwords elsewhere? We're looking for alternatives to IDP but we need to be able to manage users outside of the service. KeyCloak like it has a lot of user management built in. I guess that if you want to customize you need to write Java...
@MilanJovanovicTech6 ай бұрын
There's a simple REST API for managing users in Keycloak. Might be all you need?
@aldinoauliaaurunisbi47122 ай бұрын
Sir, have u ever faced that page keep refreshing after login? Could you please help me.. first login works normally , but not after all..
@MilanJovanovicTech2 ай бұрын
No, haven't seen that one
@jeevanmanikreddy126117 күн бұрын
can you forward me the github or any repo link spring boot microservices which has complete keycloak into???
@MilanJovanovicTech17 күн бұрын
No idea for spring boot
@zfold47026 ай бұрын
Wait... security responsibility on a opensource tool?
@MilanJovanovicTech6 ай бұрын
Yes
@Emi-fg7fn5 ай бұрын
And why not?
@fabiojansen42866 ай бұрын
Is possible to implement multi tenant with keycloak?
@MilanJovanovicTech6 ай бұрын
Yes
@samislam27464 ай бұрын
Are you from Slovakia?
@MilanJovanovicTech4 ай бұрын
Serbia
@dev.repolho6 ай бұрын
Thanks for this serie bro !! Was starting to check Ory ecosystem, I like the ideia of ory oathkeeper for centralized authorization server, so we can achieve the same here with Authorization Services Keycloak ? Like a reverse proxy for authorization. Also does anyone use ory? I started to check it, but did not do a real comparison between Ory and Keaclock (I need a service to deploy on my infra and that supports AD/LDAP federation)
@MilanJovanovicTech6 ай бұрын
I never heard of Ory 🤷♂️
@paulmdevenney6 ай бұрын
damn...I wish I'd seen this video 1 year ago. Regretting my cloud provider choice.
@MilanJovanovicTech6 ай бұрын
I wish I'd released it a year ago then 😅
@PhuNguyen-bi7pi6 ай бұрын
It's a bummer that IdentityServer is now a commercial product :(. Keycloak is great, but it's Java
@MilanJovanovicTech6 ай бұрын
So what if it's Java?
@davor123 ай бұрын
to brate srbija!
@MilanJovanovicTech3 ай бұрын
Samo jako 💪
@ote84586 ай бұрын
please if you make such videos also explain how does keycloak make money from using it as identity provider. Real developers would use Keycloak Provider in real world scenarios.
@MilanJovanovicTech6 ай бұрын
How it makes money? It doesn't.
@aakashpoojary39686 ай бұрын
@@MilanJovanovicTechso the possibility of keyclock getting deprecated?
@MB-Kajtech6 ай бұрын
@@aakashpoojary3968 No not really, it's in government use + Linux Foundation + Red Hat (Red Hat Single Sign-On is based on KeyCloak).