Fullstack OAuth2 - Angular, Spring Boot & Keycloak

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

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

  • @Sam-kr5ix
    @Sam-kr5ix 7 месяцев назад

    well done sir, it was clearly explained

  • @ssn0b
    @ssn0b Год назад +2

    Дай Боже тобі здоров'я і многих літ.

    • @toxiq7532
      @toxiq7532 Год назад

      теж, прям те, що шукав)

  • @MartinvandenHoorn-p9n
    @MartinvandenHoorn-p9n 6 месяцев назад

    The whole development at TGV-train speed, wonderful.
    I wonder if I missed one thing: to do the formal validation of the incoming access token, the Spring boot would need the public key of Keycloak's self signed certificate and use it to validate the signature of the access token .

  • @bosnaboym
    @bosnaboym Год назад

    Danke dir fürs video! Very good 👍

  • @jbbzzi
    @jbbzzi Год назад

    Brilliant man, thanks!

  • @momedalhouma14
    @momedalhouma14 Год назад

    Well done, thank you.

  • @islomyakubov8205
    @islomyakubov8205 11 месяцев назад

    Thanks, it was great. Could you please make one more video with keycloak-js library?

  • @wadewward
    @wadewward Год назад +1

    ❤ why do you prepend ROLE_ to the fullstack-developer role?

    • @heygenka
      @heygenka  11 месяцев назад +1

      Just to distinguish the roles from other granted authorities.

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

      ​@@heygenkahey that is not the reason brother 😅.spring boot default granted role always look prefif Role_ that why you convert it ok

  • @awijaso
    @awijaso 11 месяцев назад

    absolute chad

  • @anitalakhadze1026
    @anitalakhadze1026 Год назад

    Hello. Thanks for the helpful content. Does angular-oauth2-oidc support multiple identity providers?

    • @heygenka
      @heygenka  Год назад

      Does not look like it does. In the config there is always only one token provider

  • @TimBeyer-o6t
    @TimBeyer-o6t 10 месяцев назад

    thanks for this helpful tutorial. Is it possible to @RolesAllowed annotation instead of @PreAuthorize ?

  • @laughone
    @laughone Год назад +1

    Should i use the key cloak library or oath oidc in angular

    • @heygenka
      @heygenka  Год назад +2

      I think both are fine. If you use third party libraries for oauth2, you should stick to those which are OpenID certified, they should be more reliable and trustworthy

  • @bitroxtn7385
    @bitroxtn7385 Год назад +1

    hey Genka does it affect the code if i create app.config.ts in angular 16.2

    • @heygenka
      @heygenka  Год назад +1

      in angular versions pre 17 you can configure it in app.module.ts, it does not matter if you configure it in standalone components or ngmodules. the code is the same.

  • @leemai1554
    @leemai1554 10 месяцев назад

    I followed the steps you showed, but I got a 401 unauthorized error. I made sure to add the access token to the header. I think there is a problem in the backend but I really don't know how to fix it =((

    • @heygenka
      @heygenka  10 месяцев назад

      I can just guess, 401 could mean that something in spring security chain is wrong or the token verifikation went wrong, maybe wrong token issuer URL or something.

  • @ДимаКорнилов-й5щ

    Hi, I created a project with a 3D model of a drone. And I want to make buttons with text output on drone components, there are examples on sketchfab, but if I attach a link, the comment is deleted. I've been trying to do what I wanted for a long time, but it just doesn't work out. Can you help me?

  • @mahmudulkhan3672
    @mahmudulkhan3672 9 месяцев назад

    how do i give the sign up option? to add a new user?

  • @mazingguitar
    @mazingguitar Год назад

    hey Genka - what if I wanted to make that redirect when user hits some sign up/login button? Seems that my router goes crazy and redirect does not happen.
    EDIT. Got it to work with newer OIDC library - works like charm - will probably start using Keycloak from now on.

    • @black_gamer0349
      @black_gamer0349 День назад

      i know this is an old comment, but can you tell me how did you do that?

  • @breaker1454
    @breaker1454 8 месяцев назад

    Does this include the PCKE Flow?

    • @heygenka
      @heygenka  8 месяцев назад

      according to the doc, yes it does manfredsteyer.github.io/angular-oauth2-oidc/docs/additional-documentation/code-flow-+-pcke.html

  • @laughone
    @laughone Год назад

    Hi genka, after i login it adds the state and the session state into the url (localhost:4200/dashboard?state=adfeDx how to fix this

  • @toxiq7532
    @toxiq7532 Год назад

    amazing, many thanks