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

Поделиться
HTML-код
  • Опубликовано: 8 сен 2024

Комментарии • 101

  • @MilanJovanovicTech
    @MilanJovanovicTech  Месяц назад +2

    Want to master Clean Architecture? Go here: bit.ly/3PupkOJ
    Want to unlock Modular Monoliths? Go here: bit.ly/3SXlzSt

  • @MB-Kajtech
    @MB-Kajtech Месяц назад +17

    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.

  • @Stoney_Eagle
    @Stoney_Eagle Месяц назад +3

    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  Месяц назад +3

      A user impersonation video might be interesting, thanks for the idea

  • @georgeritchie4497
    @georgeritchie4497 Месяц назад +6

    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  Месяц назад +1

      You're welcome 😊 I'm still planning what to cover next, so thanks for some ideas.

    • @coding-in
      @coding-in Месяц назад

      ​@@MilanJovanovicTechhow to setup different user access/role , has different menu? Then different access control even in same page.

  • @delphiguy23
    @delphiguy23 24 дня назад +1

    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  24 дня назад +1

      Releasing another video soon for the .NET auth integration

  • @romualdojunior2121
    @romualdojunior2121 Месяц назад +1

    Already using it in my projects with .NET 8.
    Great product!

  • @joehernandez3231
    @joehernandez3231 Месяц назад +6

    Great video! Looking forward to more videos on Keycloak.

  • @jiM3op
    @jiM3op Месяц назад +3

    i need to check this out... looking awesome

    • @MilanJovanovicTech
      @MilanJovanovicTech  Месяц назад

      It's pretty cool. Easy to setup. You can connect it to an existing DB like Postgres, etc.

  • @shuvo9131
    @shuvo9131 Месяц назад +1

    Nice one Milan. Eagerly waiting for the next video of this series.

  • @chizuru1999
    @chizuru1999 21 день назад

    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 😊

  • @rickjarr
    @rickjarr Месяц назад +1

    Awesome video! Hopefully we get a continuation video soon :)

  • @robadobdob
    @robadobdob Месяц назад +1

    The number of times you drop a video on a topic I'm looking at is uncanny.

  • @feinirl
    @feinirl Месяц назад +1

    Great video! Can't wait for more Keycloak related videos ;)

  • @fluidityinmotion2452
    @fluidityinmotion2452 16 дней назад +1

    Excellent tutorial!

  • @itirush2701
    @itirush2701 28 дней назад +1

    I'm your Russian fan. you make the best content. Люблю тебя ❤

    • @MilanJovanovicTech
      @MilanJovanovicTech  28 дней назад

      Большой привет из Сербии! :)

    • @itirush2701
      @itirush2701 28 дней назад

      @@MilanJovanovicTech Ахахахахаха знаешь русский) Когда видео на русском ? :)

  • @borislavnikolov1078
    @borislavnikolov1078 Месяц назад +1

    Very well explained!

  • @myschool1361
    @myschool1361 11 дней назад

    part -2 is awaited

  • @sudidav
    @sudidav Месяц назад

    Thanks for the that nice intro. Waiting for the next part.

  • @MrPayTune
    @MrPayTune 27 минут назад

    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?

  • @ScrotoTBaggins
    @ScrotoTBaggins Месяц назад

    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  Месяц назад +1

      If you treat it like a "black box", does it matter? 🤔

    • @ScrotoTBaggins
      @ScrotoTBaggins Месяц назад +1

      @@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.

  • @akashkarve1991
    @akashkarve1991 Месяц назад

    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  Месяц назад +1

      I might introduce it into a microservices scenario at some point, for now I want to focus on integrating it with a .NET app

  • @Flanno91
    @Flanno91 27 дней назад

    Great video Milan. Would love to see the backend configuration for this on a NET Core Web API!

    • @MilanJovanovicTech
      @MilanJovanovicTech  27 дней назад

      Working on that video tomorrow, and posting in a week or two!

  • @user-xm7sh3vw8o
    @user-xm7sh3vw8o Месяц назад +1

    Can you explain the framework of ABP, and explain the advantages and disadvantages?

  • @vinydanylo
    @vinydanylo Месяц назад +2

    Nice! I just find it their documentation very confusing when running a production ready docker container =/

  • @sreerajpsin
    @sreerajpsin 5 дней назад +1

    @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  5 дней назад +1

      @@sreerajpsin Yes, you would define separate authentication schemes. This is actually a great idea for a video.

    • @sreerajpsin
      @sreerajpsin 4 дня назад

      @@MilanJovanovicTech waiting

  • @brianmorin5547
    @brianmorin5547 18 дней назад

    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  18 дней назад

      That might be part 3, since I already recorded part 2

    • @brianmorin5547
      @brianmorin5547 17 дней назад

      @@MilanJovanovicTech Ha, nice! I went to your channel for part 2. Not uploaded yet?

  • @flobuilds
    @flobuilds Месяц назад

    We use keycloak too in our project

  • @user-qm4oc8nb8e
    @user-qm4oc8nb8e 23 дня назад

    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  23 дня назад

      Most likely the redirect URIs aren't properly set (on the client)

  • @Emi-fg7fn
    @Emi-fg7fn 24 дня назад

    and how do you integrate it with the authorization?

  • @nathangrosvenor7661
    @nathangrosvenor7661 19 дней назад

    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  18 дней назад +1

      Pick any of those (Keycloak, auth0, azure ad, aws cognito), but I wouldn't recommend rolling your own

  • @barefeg
    @barefeg 23 дня назад

    Does it support api key authentication? Meaning users can create api keys for programmatic usage of API resources protected under keycloak

    • @MilanJovanovicTech
      @MilanJovanovicTech  23 дня назад

      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 23 дня назад

      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

  • @zfold4702
    @zfold4702 Месяц назад +1

    Wait... security responsibility on a opensource tool?

  • @Santalucesguy
    @Santalucesguy Месяц назад

    Wow I need this for a proyect I’m in. Any idea of a course I could watch??

  • @user-pq5cb9ht9u
    @user-pq5cb9ht9u 24 дня назад

    waiting for the next keyclock video

  • @PelFox
    @PelFox Месяц назад

    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  Месяц назад +1

      There's a simple REST API for managing users in Keycloak. Might be all you need?

  • @mysuperemecy
    @mysuperemecy 29 дней назад

    If you can show how to enable user registration then it will be great 😃

  • @efimov90
    @efimov90 Месяц назад

    Is it better than Authentic?

    • @MilanJovanovicTech
      @MilanJovanovicTech  Месяц назад

      Never heard of Authentik, looks like a very similar product based on their website.

  • @fabiojansen4286
    @fabiojansen4286 Месяц назад

    Is possible to implement multi tenant with keycloak?

  • @dev.repolho
    @dev.repolho Месяц назад

    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)

  • @paulmdevenney
    @paulmdevenney Месяц назад

    damn...I wish I'd seen this video 1 year ago. Regretting my cloud provider choice.

  • @PhuNguyen-bi7pi
    @PhuNguyen-bi7pi Месяц назад

    It's a bummer that IdentityServer is now a commercial product :(. Keycloak is great, but it's Java

  • @otisrancko
    @otisrancko 29 дней назад

    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  29 дней назад +1

      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 29 дней назад

      @@MilanJovanovicTech Thanks! That will be awesome

  • @ote8458
    @ote8458 Месяц назад

    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 Месяц назад

      ​@@MilanJovanovicTechso the possibility of keyclock getting deprecated?

    • @MB-Kajtech
      @MB-Kajtech Месяц назад

      @@aakashpoojary3968 No not really, it's in government use + Linux Foundation + Red Hat (Red Hat Single Sign-On is based on KeyCloak).