Getting Started With Keycloak Identity Provider (free Identity Server alternative)

  Рет қаралды 36,418

Milan Jovanović

Milan Jovanović

Күн бұрын

Пікірлер: 113
@MilanJovanovicTech
@MilanJovanovicTech 2 ай бұрын
Want to master Clean Architecture? Go here: bit.ly/3PupkOJ Want to unlock Modular Monoliths? Go here: bit.ly/3SXlzSt
@necromancer151
@necromancer151 13 күн бұрын
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-Kajtech
@MB-Kajtech 2 ай бұрын
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.
@MilanJovanovicTech
@MilanJovanovicTech 2 ай бұрын
I wasn't aware of that, but that's great to know 😁
@Stoney_Eagle
@Stoney_Eagle 2 ай бұрын
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.
@MilanJovanovicTech
@MilanJovanovicTech 2 ай бұрын
A user impersonation video might be interesting, thanks for the idea
@georgeritchie4497
@georgeritchie4497 2 ай бұрын
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
@MilanJovanovicTech
@MilanJovanovicTech 2 ай бұрын
You're welcome 😊 I'm still planning what to cover next, so thanks for some ideas.
@coding-in
@coding-in 2 ай бұрын
​@@MilanJovanovicTechhow to setup different user access/role , has different menu? Then different access control even in same page.
@delphiguy23
@delphiguy23 2 ай бұрын
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.
@MilanJovanovicTech
@MilanJovanovicTech 2 ай бұрын
Releasing another video soon for the .NET auth integration
@chizuru1999
@chizuru1999 2 ай бұрын
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 😊
@MilanJovanovicTech
@MilanJovanovicTech 2 ай бұрын
Awesome, glad I could help! :)
@romualdojunior2121
@romualdojunior2121 2 ай бұрын
Already using it in my projects with .NET 8. Great product!
@MilanJovanovicTech
@MilanJovanovicTech 2 ай бұрын
It's nice
@dotnetMasterCSharp
@dotnetMasterCSharp 6 сағат бұрын
Is it possible to connect to this via postgres? Help me!
@shuvo9131
@shuvo9131 2 ай бұрын
Nice one Milan. Eagerly waiting for the next video of this series.
@MilanJovanovicTech
@MilanJovanovicTech 2 ай бұрын
Thanks a ton
@jiM3op
@jiM3op 2 ай бұрын
i need to check this out... looking awesome
@MilanJovanovicTech
@MilanJovanovicTech 2 ай бұрын
It's pretty cool. Easy to setup. You can connect it to an existing DB like Postgres, etc.
@rickjarr
@rickjarr 2 ай бұрын
Awesome video! Hopefully we get a continuation video soon :)
@MilanJovanovicTech
@MilanJovanovicTech 2 ай бұрын
Very soon!
@robadobdob
@robadobdob 2 ай бұрын
The number of times you drop a video on a topic I'm looking at is uncanny.
@MilanJovanovicTech
@MilanJovanovicTech 2 ай бұрын
That's a good sign 😁
@akashkarve1991
@akashkarve1991 2 ай бұрын
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 !!!!
@MilanJovanovicTech
@MilanJovanovicTech 2 ай бұрын
I might introduce it into a microservices scenario at some point, for now I want to focus on integrating it with a .NET app
@itirush2701
@itirush2701 2 ай бұрын
I'm your Russian fan. you make the best content. Люблю тебя ❤
@MilanJovanovicTech
@MilanJovanovicTech 2 ай бұрын
Большой привет из Сербии! :)
@itirush2701
@itirush2701 2 ай бұрын
@@MilanJovanovicTech Ахахахахаха знаешь русский) Когда видео на русском ? :)
@sudidav
@sudidav 2 ай бұрын
Thanks for that nice intro. Waiting for the next part.
@MilanJovanovicTech
@MilanJovanovicTech 2 ай бұрын
Coming soon!
@fluidityinmotion2452
@fluidityinmotion2452 2 ай бұрын
Excellent tutorial!
@MilanJovanovicTech
@MilanJovanovicTech 2 ай бұрын
Thank you!
@feinirl
@feinirl 2 ай бұрын
Great video! Can't wait for more Keycloak related videos ;)
@MilanJovanovicTech
@MilanJovanovicTech 2 ай бұрын
More to come!
@borislavnikolov1078
@borislavnikolov1078 2 ай бұрын
Very well explained!
@MilanJovanovicTech
@MilanJovanovicTech 2 ай бұрын
Thanks a lot! :)
@joehernandez3231
@joehernandez3231 2 ай бұрын
Great video! Looking forward to more videos on Keycloak.
@MilanJovanovicTech
@MilanJovanovicTech 2 ай бұрын
Coming soon!
@ScrotoTBaggins
@ScrotoTBaggins 2 ай бұрын
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
@MilanJovanovicTech
@MilanJovanovicTech 2 ай бұрын
If you treat it like a "black box", does it matter? 🤔
@ScrotoTBaggins
@ScrotoTBaggins 2 ай бұрын
@@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.
@RadhikaJangam-ee8rl
@RadhikaJangam-ee8rl 21 күн бұрын
very well explained.....Thank you 😊
@MilanJovanovicTech
@MilanJovanovicTech 20 күн бұрын
Most welcome 😊
@Flanno91
@Flanno91 2 ай бұрын
Great video Milan. Would love to see the backend configuration for this on a NET Core Web API!
@MilanJovanovicTech
@MilanJovanovicTech 2 ай бұрын
Working on that video tomorrow, and posting in a week or two!
@zachsalt1209
@zachsalt1209 18 күн бұрын
Great video!
@MilanJovanovicTech
@MilanJovanovicTech 18 күн бұрын
Thanks!
@sunzhang-d9v
@sunzhang-d9v 2 ай бұрын
Can you explain the framework of ABP, and explain the advantages and disadvantages?
@MilanJovanovicTech
@MilanJovanovicTech 2 ай бұрын
Will consider
@vinydanylo
@vinydanylo 2 ай бұрын
Nice! I just find it their documentation very confusing when running a production ready docker container =/
@MilanJovanovicTech
@MilanJovanovicTech 2 ай бұрын
You and me both!
@myschool1361
@myschool1361 Ай бұрын
part -2 is awaited
@MilanJovanovicTech
@MilanJovanovicTech Ай бұрын
Next week :)
@flobuilds
@flobuilds 2 ай бұрын
We use keycloak too in our project
@MilanJovanovicTech
@MilanJovanovicTech 2 ай бұрын
Nice!
@brianmorin5547
@brianmorin5547 2 ай бұрын
Great stuff. How about Part 2 on deploying to a cloud server with Nginx reverse proxy and SSL to support all our apps?
@MilanJovanovicTech
@MilanJovanovicTech 2 ай бұрын
That might be part 3, since I already recorded part 2
@brianmorin5547
@brianmorin5547 2 ай бұрын
@@MilanJovanovicTech Ha, nice! I went to your channel for part 2. Not uploaded yet?
@mysuperemecy
@mysuperemecy 2 ай бұрын
If you can show how to enable user registration then it will be great 😃
@MilanJovanovicTech
@MilanJovanovicTech 2 ай бұрын
Will do, thanks for bringing that up!
@Santalucesguy
@Santalucesguy 2 ай бұрын
Wow I need this for a proyect I’m in. Any idea of a course I could watch??
@MilanJovanovicTech
@MilanJovanovicTech 2 ай бұрын
I'm not aware of one 🤷‍♂️
@nathangrosvenor7661
@nathangrosvenor7661 2 ай бұрын
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
@MilanJovanovicTech
@MilanJovanovicTech 2 ай бұрын
Pick any of those (Keycloak, auth0, azure ad, aws cognito), but I wouldn't recommend rolling your own
@MrPayTune
@MrPayTune Ай бұрын
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?
@MilanJovanovicTech
@MilanJovanovicTech Ай бұрын
Yes, but you need a UI dev to do it
@otisrancko
@otisrancko 2 ай бұрын
Hey Milan, Nice video...I wanted to ask how can i programmatically signup and login from a web application using KeyCloak's API?
@MilanJovanovicTech
@MilanJovanovicTech 2 ай бұрын
You can use the Keycloak REST API to get a password (Password flow), and same for registering. I'll do a video about it.
@otisrancko
@otisrancko 2 ай бұрын
@@MilanJovanovicTech Thanks! That will be awesome
@ehichioyaidiakhoa3746
@ehichioyaidiakhoa3746 8 күн бұрын
hows does docker perform on windows. i'm assuming thats where it was installed in this tutorial?
@MilanJovanovicTech
@MilanJovanovicTech 7 күн бұрын
Yes. Docker Deskopt running in WSL (Linux)
@sreerajpsin
@sreerajpsin Ай бұрын
@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 ?
@MilanJovanovicTech
@MilanJovanovicTech Ай бұрын
@@sreerajpsin Yes, you would define separate authentication schemes. This is actually a great idea for a video.
@sreerajpsin
@sreerajpsin Ай бұрын
@@MilanJovanovicTech waiting
@MahmoudHassan-m2t
@MahmoudHassan-m2t 2 ай бұрын
waiting for the next keyclock video
@MilanJovanovicTech
@MilanJovanovicTech 2 ай бұрын
Recorded, comes out in a few weeks :)
@MahmoudHassan-m2t
@MahmoudHassan-m2t Ай бұрын
@@MilanJovanovicTech thanks for your great effort
@PelFox
@PelFox 2 ай бұрын
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...
@MilanJovanovicTech
@MilanJovanovicTech 2 ай бұрын
There's a simple REST API for managing users in Keycloak. Might be all you need?
@zfold4702
@zfold4702 2 ай бұрын
Wait... security responsibility on a opensource tool?
@MilanJovanovicTech
@MilanJovanovicTech 2 ай бұрын
Yes
@Emi-fg7fn
@Emi-fg7fn 2 ай бұрын
And why not?
@barefeg
@barefeg 2 ай бұрын
Does it support api key authentication? Meaning users can create api keys for programmatic usage of API resources protected under keycloak
@MilanJovanovicTech
@MilanJovanovicTech 2 ай бұрын
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
@barefeg
@barefeg 2 ай бұрын
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
@rebeccaacheampong7239
@rebeccaacheampong7239 6 күн бұрын
Can this be used with a VR application?
@MilanJovanovicTech
@MilanJovanovicTech 5 күн бұрын
No idea, I never built one
@aryanrana-o6n
@aryanrana-o6n 2 ай бұрын
Can you tell me that when i click on Sign in button at 7:40 then new page open as "Unable to connect"
@MilanJovanovicTech
@MilanJovanovicTech 2 ай бұрын
Most likely the redirect URIs aren't properly set (on the client)
@Emi-fg7fn
@Emi-fg7fn 2 ай бұрын
and how do you integrate it with the authorization?
@MilanJovanovicTech
@MilanJovanovicTech 2 ай бұрын
Coming in another video!
@samislam2746
@samislam2746 Ай бұрын
Are you from Slovakia?
@MilanJovanovicTech
@MilanJovanovicTech Ай бұрын
Serbia
@fabiojansen4286
@fabiojansen4286 2 ай бұрын
Is possible to implement multi tenant with keycloak?
@MilanJovanovicTech
@MilanJovanovicTech 2 ай бұрын
Yes
@dev.repolho
@dev.repolho 2 ай бұрын
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)
@MilanJovanovicTech
@MilanJovanovicTech 2 ай бұрын
I never heard of Ory 🤷‍♂️
@PhuNguyen-bi7pi
@PhuNguyen-bi7pi 2 ай бұрын
It's a bummer that IdentityServer is now a commercial product :(. Keycloak is great, but it's Java
@MilanJovanovicTech
@MilanJovanovicTech 2 ай бұрын
So what if it's Java?
@paulmdevenney
@paulmdevenney 2 ай бұрын
damn...I wish I'd seen this video 1 year ago. Regretting my cloud provider choice.
@MilanJovanovicTech
@MilanJovanovicTech 2 ай бұрын
I wish I'd released it a year ago then 😅
@ote8458
@ote8458 2 ай бұрын
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.
@MilanJovanovicTech
@MilanJovanovicTech 2 ай бұрын
How it makes money? It doesn't.
@aakashpoojary3968
@aakashpoojary3968 2 ай бұрын
​@@MilanJovanovicTechso the possibility of keyclock getting deprecated?
@MB-Kajtech
@MB-Kajtech 2 ай бұрын
@@aakashpoojary3968 No not really, it's in government use + Linux Foundation + Red Hat (Red Hat Single Sign-On is based on KeyCloak).
Secure Your .NET API in 15 Minutes: JWT Authentication Tutorial
15:05
Milan Jovanović
Рет қаралды 16 М.
Secure Your .NET Application With Keycloak: Step-by-Step Guide
17:05
Milan Jovanović
Рет қаралды 16 М.
Osman Kalyoncu Sonu Üzücü Saddest Videos Dream Engine 269 #shorts
00:26
Как не носить с собой вещи
00:31
Miracle
Рет қаралды 1,7 МЛН
Fake watermelon by Secret Vlog
00:16
Secret Vlog
Рет қаралды 29 МЛН
the balloon deflated while it was flying #tiktok
00:19
Анастасия Тарасова
Рет қаралды 25 МЛН
Keycloak Is AWESOME! Single Sign On Made Easy!
25:05
Jim's Garage
Рет қаралды 103 М.
I Didn’t Believe that AI is the Future of Coding. I Was Right.
6:55
Sabine Hossenfelder
Рет қаралды 500 М.
I forced EVERYONE to use Linux
22:59
NetworkChuck
Рет қаралды 568 М.
Making A WebSocket Server With .NET 8🧑‍💻  [FULLSTACK 2024 VIDEO 1]
18:43
Alex's Dev Den 👨‍💻
Рет қаралды 12 М.
Are You Accidentally Crippling Your EF Core Queries?
17:18
Milan Jovanović
Рет қаралды 28 М.
Exceptions Are Extremely Expensive… Do This Instead
17:15
Milan Jovanović
Рет қаралды 45 М.
100+ Linux Things you Need to Know
12:23
Fireship
Рет қаралды 1,2 МЛН
Secure authentication for EVERYTHING! // Authentik
39:50
Christian Lempa
Рет қаралды 177 М.
The Problem With UUIDs… And How To Solve It
18:04
Milan Jovanović
Рет қаралды 13 М.
Osman Kalyoncu Sonu Üzücü Saddest Videos Dream Engine 269 #shorts
00:26