Single Sign On With OAuth2.0 - Authentik Is AWESOME!

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 พ.ย. 2024

ความคิดเห็น • 106

  • @bluesquadron593
    @bluesquadron593 ปีที่แล้ว +17

    Awesome content and superb channel!

  • @monish05m
    @monish05m ปีที่แล้ว +3

    using authentik for over an year now, I can say this with confidence that it is awesome, functional, and logical. all with great support and pretty UI.

    • @Jims-Garage
      @Jims-Garage  ปีที่แล้ว

      Awesome, I agree - it's a great tool!

  • @alisawongsawat3979
    @alisawongsawat3979 ปีที่แล้ว +6

    I am loving it. Thank you for pushing me to improve my home lab!

  • @bertocross
    @bertocross ปีที่แล้ว +7

    A big thank you for giving me loads of inspiration and lots of new projects to undertake in my homelab. I'm currently in the process of migrating from nginx proxy manager to traefik. Keep up the excellent work, I really enjoy your videos. I'm looking forward to the next authentik episode. 👍

    • @Jims-Garage
      @Jims-Garage  ปีที่แล้ว

      Thanks for the feedback, really appreciate it.

  • @accesser
    @accesser ปีที่แล้ว +3

    Great job researching this and then presenting in a clear way, this looks like a fun thing to tinker with

  • @DarrylGibbs
    @DarrylGibbs ปีที่แล้ว +1

    Ah man!!!! Your guide is amazing! I just managed to get my Immich instance behind Oauth!! Dude, you're amazing!! Not to mention I've now learnt HOW to learn from Authentiks documentation.

    • @Jims-Garage
      @Jims-Garage  ปีที่แล้ว

      You're most welcome, good job 👍

  • @hasanerken9604
    @hasanerken9604 ปีที่แล้ว +1

    Fantastic explanation, please continue with all capabilities of Authentik

    • @Jims-Garage
      @Jims-Garage  ปีที่แล้ว

      Thanks. I did a follow up for web proxies.

    • @hasanerken9604
      @hasanerken9604 ปีที่แล้ว +1

      Now I am watching it. Awesome guidance. thanks@@Jims-Garage

  • @skinwalker_
    @skinwalker_ 6 หลายเดือนก่อน +1

    Your videos are so good they deserve more likes and shares than they have. I guess we are a specilaized group of people. Thank you for these videos they are really helpful and appreciated.

    • @Jims-Garage
      @Jims-Garage  6 หลายเดือนก่อน

      Thanks, really appreciate the feedback

  • @chrisumali9841
    @chrisumali9841 ปีที่แล้ว +2

    Thanks for the demo and info, have a great day

  • @crc_code
    @crc_code ปีที่แล้ว +4

    Thank you so much for sharing this information with us..this is a great video as always ❤❤❤

  • @cybr774
    @cybr774 ปีที่แล้ว +8

    Now a video about Keycloak would be quite fitting + a video comparing Authelia, Authentik and Keycloak😁

    • @Jims-Garage
      @Jims-Garage  ปีที่แล้ว +2

      Thanks, it's on the list! :D My goal is to start off with simpler things and move onto the more Enterprise stuff (hence Authelia -> Authentik -> Keycloak).

    • @cybr774
      @cybr774 ปีที่แล้ว +1

      @@Jims-Garage Awesome to hear, keep up the great work!

  • @MacJFitness
    @MacJFitness 6 หลายเดือนก่อน +1

    Thanks a lot for this guide! I set this up earlier watching another video and could not get the OAuth to work with Portainer. After I added the middleware you specified to the traefik config file and the labels to the compose file everything worked as expected!

    • @Jims-Garage
      @Jims-Garage  6 หลายเดือนก่อน

      Great, good to hear that

  • @PeterBatah
    @PeterBatah ปีที่แล้ว +2

    Clear and precise. Thank you for sharing your time and experience with us. I must be the only one having trouble logging into Portainer. After clicking on Login with OAuth I see the Portainer logo / Log in to your account / Welcome back! Please enter your details / Authentication in progress / Spinning gear / I am taken back to the login screen / Unable to login via OAuth. Running in a Docker Proxmox VM

    • @Jims-Garage
      @Jims-Garage  ปีที่แล้ว +1

      Thanks. Be sure to check all of the URLs in the redirection journey. If you're still stuck hop onto Discord - lots of people to help.

    • @PeterBatah
      @PeterBatah ปีที่แล้ว +1

      Thanks so much for the prompt response. I created a new Debian 11 Proxmox container and went through the entire setup again. Everything is working as it should. I suspect that my versions of Docker and Portainer may have well been outdated. Have an awesome evening.@@Jims-Garage

    • @Jims-Garage
      @Jims-Garage  ปีที่แล้ว +1

      @@PeterBatah great to hear. A strange issue!

  • @draukuxan1081
    @draukuxan1081 ปีที่แล้ว +2

    Thanks for another fantastic video! This and the next Authentik video on your channel are my projects for today. I've been using Auth0 for years, and have been wanting to switch to Authentik for a while now.
    One suggestion for your videos: please leave the pop-up/clarification text on the screen for a little bit longer than you did for the "workers" blurb at 4:10 as I had to back up and pause to read it.

  • @dmbrv
    @dmbrv ปีที่แล้ว +2

    Very nice explanation. Thanks a lot for the video.

    • @Jims-Garage
      @Jims-Garage  ปีที่แล้ว

      Thanks, you're welcome 😁

  • @Iahmel.
    @Iahmel. ปีที่แล้ว +1

    Looking forward to more content on Authentik. It's an awesome product and very capable of many things, although finding good examples and guidance for someone who isn't a devops guy is difficult.

    • @Jims-Garage
      @Jims-Garage  ปีที่แล้ว +1

      Thanks, make sure to check out my follow up with web proxies (like Authelia).

  • @BoKKeR111
    @BoKKeR111 ปีที่แล้ว +1

    Thanks for this great content! For me portainer created the user properly. No issues at all

  • @henrysowell
    @henrysowell 9 หลายเดือนก่อน +1

    Thanks Jim! Great video

    • @Jims-Garage
      @Jims-Garage  9 หลายเดือนก่อน

      Appreciate the feedback ☺️

  • @RealEstate3D
    @RealEstate3D 4 หลายเดือนก่อน +2

    Basically the outcome is that I have now either:
    1) a working Authentik on an unsecured IP connection on port 7000 .... OR ...
    2) a 504 Gateway Time-out error from openresty.
    First time I saw a video by Jim. Very likeable. To be fair ... Jim said in the video that he wouldn't recommend going with an IP himself. But that exactly is what he is doing here. My fault, I guess.

    • @Jims-Garage
      @Jims-Garage  4 หลายเดือนก่อน

      @@RealEstate3D I'll upload the compose with Traefik labels shortly to the same repo

    • @Jims-Garage
      @Jims-Garage  4 หลายเดือนก่อน +1

      Now added: I've just added a Treafik labels version to my Authentik repo. github.com/JamesTurland/JimsGarage/tree/main/Authentik

    • @RealEstate3D
      @RealEstate3D 4 หลายเดือนก่อน

      @@Jims-Garage That’s nice 🙂Unfortunately I kicked out traefik and replaced it with node-proxy-manager 🤨🔫

  • @drbyte2009
    @drbyte2009 6 หลายเดือนก่อน +1

    Nice video Jim, i would love to see a video to secure selfhosting in the combination Authentik / Traefik

    • @Jims-Garage
      @Jims-Garage  6 หลายเดือนก่อน

      Thanks, can you explain what you mean? You can plug your apps into Authentik as demoed.

    • @drbyte2009
      @drbyte2009 6 หลายเดือนก่อน

      @@Jims-Garage I recently setup Traefik 3.0 in a demo environment, in combination with PiHole as a DNS server.
      I want to acces some local hosted websites / apps with Authentik

  •  2 หลายเดือนก่อน

    Great Video! Would you please make a video what to do with the combination nginx-proxy-manager (runs allready) and authentik? Thanks!

  • @thieuson
    @thieuson ปีที่แล้ว +2

    Very useful, thank you

  • @javiesteban4510
    @javiesteban4510 ปีที่แล้ว +2

    one question, You're docker machine is standalone or is installed on proxmox? All of your docker compose are in the same docker machine? If it's proxmox use all the hdd size in this docker machine? best Regards and thanks for all your videos

    • @Jims-Garage
      @Jims-Garage  ปีที่แล้ว +1

      The machine I'm using in my videos is a standalone VM on Proxmox, it's a replica of what I used to use (hence why it's the homelab journey). I now use Kubernetes, which is what we'll get onto later in the series.
      For the docker host I used to have, there was a single 512GB nvme drive with a TrueNAS samba share mounted to it for media and backups.

    • @javiesteban4510
      @javiesteban4510 ปีที่แล้ว +1

      @@Jims-Garage Thanks, related to the TrueNAS server, which the cpu and memory you're using? Thnks

    • @Jims-Garage
      @Jims-Garage  ปีที่แล้ว +1

      @@javiesteban4510 I'm using a Pentium G4560 (yes, it's ancient), with 32GB of Samsung ECC memory

  • @mrtreehugger4259
    @mrtreehugger4259 ปีที่แล้ว +1

    Thank you very much! Maybe you could also take a look at Zitadel?

    • @Jims-Garage
      @Jims-Garage  ปีที่แล้ว +1

      You're welcome 😁 Yes, it's on the list. It looks promising.

  • @fedefede843
    @fedefede843 ปีที่แล้ว +3

    Hi, so you need to do the same for each app right? And those apps need to support this (auth2), correct?

    • @Jims-Garage
      @Jims-Garage  ปีที่แล้ว +1

      Correct, otherwise choose a proxy provider which will behave like Authelia instead.

  • @alfonce7613
    @alfonce7613 5 หลายเดือนก่อน +1

    Thanks Jim loving this series. Question are you able to change the internal listening ports of container without exposing? I.e if youre trying to route a container through a reverse proxy but you have a port conflict with another app is there a way to tell the app to listen on another port without defining a "ports" section and exposing ports?

    • @Jims-Garage
      @Jims-Garage  5 หลายเดือนก่อน +1

      Yes, you can use the loadbalancer to change the port (e.g. grafana on port 443 loadbalanced to 3000).

    • @alfonce7613
      @alfonce7613 5 หลายเดือนก่อน

      ​@@Jims-Garage Cheers - yeah okay what i didnt understand was that if im not exposing ports to the host i can for example use traefik to resolve multiple containers all listening on the same port because they are on their own individual IPs. I had an instance where portainer and authentik containers were both listening on the same port.. took me way too long to work out i can set the load balancer to the same port for both and traefik will just handle it XD

  • @HunterGeophysicsAustralia
    @HunterGeophysicsAustralia 4 หลายเดือนก่อน

    Another great video; thanks, Jim.
    Just FYI, at 16:30, upon logging out of Portainer, I was redirected to an Authentik page instead of the Portainer log-in screen. Logging out of Authentik at this point, and then logging back into Authentik again, and then logging in and logging out of Portainer seemed to fix it, even though the URL was set as you've done in your video.
    By the way, is there a way to fire off a test email to ensure the Authentik email settings are correct and all is working properly?
    Thanks again.

  • @johnackelley
    @johnackelley หลายเดือนก่อน

    I had set authentik up with single application forward auth proxies for the providers for each application to communicate with an nginx reverse proxy setup. I'm trying to switch to OAuth2 OIDC, but get a 404 if I use anything other than the local IP. I don't have my ports exposed on the public IP/domain since I'm using a reverse proxy instead. I can't seem to figure out how to get the proxy outpost in Authentik to work with the OAuth2 providers.

  • @larsskage5584
    @larsskage5584 7 หลายเดือนก่อน +1

    Great video!
    Exactly what I have been looking for. At 8:10 you mention using a proper domain. My initial setup was wo port forwarding and only using pihole as my internal ens with all fqdn pointing to the nginx proxy manager. The issue is portainer can not resolve the name. It will work if I add the auth fqdn and point it to my public ip and port forward to nginx but I would rather knep it all internal. Is this setup impossible? TIA /lars

    • @Jims-Garage
      @Jims-Garage  7 หลายเดือนก่อน

      Ofc, follow my Traefik video. That uses a DNS challenge which doesn't require any port forwarding.

  • @senj3ru
    @senj3ru 5 หลายเดือนก่อน

    and in the future, if you need to update postgres to a newer version, what is the correct way to do this?

  • @andoniortiz4774
    @andoniortiz4774 ปีที่แล้ว +1

    Gracias por compartir!

  • @PeterBatah
    @PeterBatah ปีที่แล้ว +1

    Hello again Jim. At approximately 11:38 you state that you can have a single provider for many applications (one to many). Are you sure about that? I have attempted to do so and get the following error message: Application with this provider already exists.

    • @Jims-Garage
      @Jims-Garage  ปีที่แล้ว +1

      Thanks, I should have been clearer. From the official docs: "Starting with authentik 2023.5, applications can use multiple providers, to augment the functionality of the main provider".

    • @PeterBatah
      @PeterBatah ปีที่แล้ว +1

      My apologies Jim. I should have mentioned that I was using Authentik version 2023.8.3@@Jims-Garage

  • @fulesmackofule
    @fulesmackofule 11 หลายเดือนก่อน +1

    Awesome! But what happens after 16:52? No password asked? It just gets in Portainer?
    Too bad all other applications I run for my home lab need password through either pop-up or form...

    • @Jims-Garage
      @Jims-Garage  11 หลายเดือนก่อน +1

      It's because I'm using the same account as I'm currently logged into Authentik with.

  • @RiffyDevine
    @RiffyDevine 3 หลายเดือนก่อน +1

    I am already using a redis in my traefik container for traefik-kop. Can it share the redis or do I need to set them to different ones?

    • @Jims-Garage
      @Jims-Garage  3 หลายเดือนก่อน

      @@RiffyDevine I believe it can be shared but not sure about configuration

  • @planeetpaul
    @planeetpaul 7 หลายเดือนก่อน +1

    Hi Jim, I am looking for a solution which I can use for my homelab apps but also for my WordPress websites members area. Is it possible to integrate Authelia or Authentik into my WordPress site?

    • @Jims-Garage
      @Jims-Garage  7 หลายเดือนก่อน

      Yes, web proxy should do it.

  • @Dros34
    @Dros34 4 หลายเดือนก่อน +1

    For SAML based auth is there a mobile app you install that will push the SSO/SAML request to your phone? Much like the way DUO works for example.

    • @Jims-Garage
      @Jims-Garage  4 หลายเดือนก่อน

      @@Dros34 I think you're referring to MFA?

    • @Dros34
      @Dros34 4 หลายเดือนก่อน

      @@Jims-Garageyes, like an authentik mfa app. I’m just looking into this authentik doesn’t it do mfa? It’s basically like a free version of DUO, RSA, Okta etc. btw great channel. Really like your videos.

  • @DesertCookie
    @DesertCookie 9 หลายเดือนก่อน +2

    I am stuck on the initial setup. It won't redirect me after I have entered my details. The logs don't show anything special either; just a regular API request is logged.
    Edit: I had to use the HTTPs port. The HTTP port does not work for this.
    Edit 2: Firefox doesn't work with parts of the UI. I recommend a Chromium-based browser.

    • @Jims-Garage
      @Jims-Garage  9 หลายเดือนก่อน +1

      Glad it's working. Likely because the Traefik proxy is set to redirect to HTTPS

  • @omerta3393
    @omerta3393 4 หลายเดือนก่อน +1

    I followed your instructions and it is now up and running going dorward to put Prometheus behind it

    • @Jims-Garage
      @Jims-Garage  4 หลายเดือนก่อน +1

      Great, good job.

  • @abessesmahi4888
    @abessesmahi4888 ปีที่แล้ว +2

    Thank you for this great content, and please mute the music during the tutorial because its disturbing.

    • @Jims-Garage
      @Jims-Garage  ปีที่แล้ว +1

      Thanks, will take that into consideration.

  • @HenricLilliehöök
    @HenricLilliehöök 9 หลายเดือนก่อน +1

    Your docker-compose file on github doesn't work with newer images it seems...

    • @Jims-Garage
      @Jims-Garage  9 หลายเดือนก่อน

      Thanks, I'll investigate when I have time. Please submit a pr if you have a working one.

  • @张伟平-m9q
    @张伟平-m9q 8 หลายเดือนก่อน

    how to install not by docker do it by bare install way?

  • @michaelventarola7100
    @michaelventarola7100 11 หลายเดือนก่อน +1

    What is better? This or Keycloak?

    • @Jims-Garage
      @Jims-Garage  11 หลายเดือนก่อน

      For homelab I would go for Authentik as it has a proxy. For enterprise and OAuth it's keycloak all the way

  • @cyberjohn44
    @cyberjohn44 ปีที่แล้ว +1

    Does it support 2FA with SSO?

  • @pmlstk
    @pmlstk ปีที่แล้ว +1

    how do i enable https for authentik?

    • @Jims-Garage
      @Jims-Garage  ปีที่แล้ว

      Check my follow up video on Authentik, I've added the Traefik labels necessary.

  • @张伟平-m9q
    @张伟平-m9q 7 หลายเดือนก่อน

    如何使用用户的 id作为唯一键 该如何配置呢

  • @radhiyahwilliams829
    @radhiyahwilliams829 7 หลายเดือนก่อน

    Hi, Has anyone managed to setup authentik with a angular project?

  • @TechySpeaking
    @TechySpeaking หลายเดือนก่อน +1

    first

  • @bradfordjns
    @bradfordjns 9 หลายเดือนก่อน +1

    Great video ! The files and video has gotten me set up with Authentik on my Docker server working great with openid and the proxy auth. I have also been migrating my services to my K3S cluster, have you managed to set this up in Kubernetes with a deployment.yaml and a traefik ingress.yaml?

    • @Jims-Garage
      @Jims-Garage  9 หลายเดือนก่อน +1

      Yes, I did a livestream that's available showing how (without Traefik but it's simple to do). I will do it in Kubernetes at a later time

    • @bradfordjns
      @bradfordjns 9 หลายเดือนก่อน +1

      Thanks @@Jims-Garage for the quick reply, I just found your video and I working through it now.