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

  Рет қаралды 42,319

Jim's Garage

Jim's Garage

Күн бұрын

Пікірлер: 104
@bluesquadron593
@bluesquadron593 Жыл бұрын
Awesome content and superb channel!
@Jims-Garage
@Jims-Garage Жыл бұрын
Thanks 👍
@cybr774
@cybr774 Жыл бұрын
Now a video about Keycloak would be quite fitting + a video comparing Authelia, Authentik and Keycloak😁
@Jims-Garage
@Jims-Garage Жыл бұрын
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 Жыл бұрын
@@Jims-Garage Awesome to hear, keep up the great work!
@alisawongsawat3979
@alisawongsawat3979 Жыл бұрын
I am loving it. Thank you for pushing me to improve my home lab!
@Jims-Garage
@Jims-Garage Жыл бұрын
You're welcome!
@bertocross
@bertocross Жыл бұрын
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.
@skinwalker_
@skinwalker_ 3 ай бұрын
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 3 ай бұрын
Thanks, really appreciate the feedback
@accesser
@accesser Жыл бұрын
Great job researching this and then presenting in a clear way, this looks like a fun thing to tinker with
@Jims-Garage
@Jims-Garage Жыл бұрын
Thanks 👍
@monish05m
@monish05m Жыл бұрын
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!
@DarrylGibbs
@DarrylGibbs 10 ай бұрын
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 10 ай бұрын
You're most welcome, good job 👍
@crc_code
@crc_code Жыл бұрын
Thank you so much for sharing this information with us..this is a great video as always ❤❤❤
@Jims-Garage
@Jims-Garage Жыл бұрын
Thanks 👍
@MacJFitness
@MacJFitness 4 ай бұрын
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 4 ай бұрын
Great, good to hear that
@hasanerken9604
@hasanerken9604 Жыл бұрын
Fantastic explanation, please continue with all capabilities of Authentik
@Jims-Garage
@Jims-Garage Жыл бұрын
Thanks. I did a follow up for web proxies.
@hasanerken9604
@hasanerken9604 Жыл бұрын
Now I am watching it. Awesome guidance. thanks@@Jims-Garage
@chrisumali9841
@chrisumali9841 Жыл бұрын
Thanks for the demo and info, have a great day
@Jims-Garage
@Jims-Garage Жыл бұрын
Thanks, you too!
@PeterBatah
@PeterBatah 11 ай бұрын
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 11 ай бұрын
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 11 ай бұрын
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 11 ай бұрын
@@PeterBatah great to hear. A strange issue!
@dmbrv
@dmbrv Жыл бұрын
Very nice explanation. Thanks a lot for the video.
@Jims-Garage
@Jims-Garage Жыл бұрын
Thanks, you're welcome 😁
@draukuxan1081
@draukuxan1081 Жыл бұрын
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.
@Jims-Garage
@Jims-Garage Жыл бұрын
Thanks, noted.
@Iahmel.
@Iahmel. 11 ай бұрын
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 11 ай бұрын
Thanks, make sure to check out my follow up with web proxies (like Authelia).
@RealEstate3D
@RealEstate3D 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 2 ай бұрын
@@RealEstate3D I'll upload the compose with Traefik labels shortly to the same repo
@Jims-Garage
@Jims-Garage 2 ай бұрын
Now added: I've just added a Treafik labels version to my Authentik repo. github.com/JamesTurland/JimsGarage/tree/main/Authentik
@RealEstate3D
@RealEstate3D 2 ай бұрын
@@Jims-Garage That’s nice 🙂Unfortunately I kicked out traefik and replaced it with node-proxy-manager 🤨🔫
@henrysowell
@henrysowell 7 ай бұрын
Thanks Jim! Great video
@Jims-Garage
@Jims-Garage 7 ай бұрын
Appreciate the feedback ☺️
@BoKKeR111
@BoKKeR111 Жыл бұрын
Thanks for this great content! For me portainer created the user properly. No issues at all
@Jims-Garage
@Jims-Garage Жыл бұрын
Great to hear!
@drbyte2009
@drbyte2009 4 ай бұрын
Nice video Jim, i would love to see a video to secure selfhosting in the combination Authentik / Traefik
@Jims-Garage
@Jims-Garage 4 ай бұрын
Thanks, can you explain what you mean? You can plug your apps into Authentik as demoed.
@drbyte2009
@drbyte2009 4 ай бұрын
@@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
@thieuson
@thieuson Жыл бұрын
Very useful, thank you
@Jims-Garage
@Jims-Garage Жыл бұрын
Thanks 👍
@mrtreehugger4259
@mrtreehugger4259 11 ай бұрын
Thank you very much! Maybe you could also take a look at Zitadel?
@Jims-Garage
@Jims-Garage 11 ай бұрын
You're welcome 😁 Yes, it's on the list. It looks promising.
@andoniortiz4774
@andoniortiz4774 10 ай бұрын
Gracias por compartir!
@Jims-Garage
@Jims-Garage 10 ай бұрын
You're weclome
8 сағат бұрын
Great Video! Would you please make a video what to do with the combination nginx-proxy-manager (runs allready) and authentik? Thanks!
@fedefede843
@fedefede843 Жыл бұрын
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 Жыл бұрын
Correct, otherwise choose a proxy provider which will behave like Authelia instead.
@HunterGeophysicsAustralia
@HunterGeophysicsAustralia 2 ай бұрын
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.
@alfonce7613
@alfonce7613 2 ай бұрын
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 2 ай бұрын
Yes, you can use the loadbalancer to change the port (e.g. grafana on port 443 loadbalanced to 3000).
@alfonce7613
@alfonce7613 2 ай бұрын
​@@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
@larsskage5584
@larsskage5584 5 ай бұрын
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 5 ай бұрын
Ofc, follow my Traefik video. That uses a DNS challenge which doesn't require any port forwarding.
@omerta3393
@omerta3393 2 ай бұрын
I followed your instructions and it is now up and running going dorward to put Prometheus behind it
@Jims-Garage
@Jims-Garage 2 ай бұрын
Great, good job.
@javiesteban4510
@javiesteban4510 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
@@Jims-Garage Thanks, related to the TrueNAS server, which the cpu and memory you're using? Thnks
@Jims-Garage
@Jims-Garage Жыл бұрын
@@javiesteban4510 I'm using a Pentium G4560 (yes, it's ancient), with 32GB of Samsung ECC memory
@abessesmahi4888
@abessesmahi4888 Жыл бұрын
Thank you for this great content, and please mute the music during the tutorial because its disturbing.
@Jims-Garage
@Jims-Garage Жыл бұрын
Thanks, will take that into consideration.
@planeetpaul
@planeetpaul 5 ай бұрын
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 5 ай бұрын
Yes, web proxy should do it.
@DesertCookie
@DesertCookie 7 ай бұрын
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 7 ай бұрын
Glad it's working. Likely because the Traefik proxy is set to redirect to HTTPS
@senj3ru
@senj3ru 3 ай бұрын
and in the future, if you need to update postgres to a newer version, what is the correct way to do this?
@张伟平-m9q
@张伟平-m9q 5 ай бұрын
how to install not by docker do it by bare install way?
@Dros34
@Dros34 2 ай бұрын
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 2 ай бұрын
@@Dros34 I think you're referring to MFA?
@Dros34
@Dros34 2 ай бұрын
@@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.
@PeterBatah
@PeterBatah 10 ай бұрын
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 10 ай бұрын
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 10 ай бұрын
My apologies Jim. I should have mentioned that I was using Authentik version 2023.8.3@@Jims-Garage
@HenricLilliehöök
@HenricLilliehöök 7 ай бұрын
Your docker-compose file on github doesn't work with newer images it seems...
@Jims-Garage
@Jims-Garage 7 ай бұрын
Thanks, I'll investigate when I have time. Please submit a pr if you have a working one.
@张伟平-m9q
@张伟平-m9q 5 ай бұрын
如何使用用户的 id作为唯一键 该如何配置呢
@michaelventarola7100
@michaelventarola7100 9 ай бұрын
What is better? This or Keycloak?
@Jims-Garage
@Jims-Garage 9 ай бұрын
For homelab I would go for Authentik as it has a proxy. For enterprise and OAuth it's keycloak all the way
@pmlstk
@pmlstk Жыл бұрын
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.
@cyberjohn44
@cyberjohn44 11 ай бұрын
Does it support 2FA with SSO?
@Jims-Garage
@Jims-Garage 11 ай бұрын
I believe it does.
@idonteatpeopleonfriday4566
@idonteatpeopleonfriday4566 Жыл бұрын
Yes finally ! You're the man Jim :)
@Jims-Garage
@Jims-Garage Жыл бұрын
Thanks 👍
@bradfordjns
@bradfordjns 7 ай бұрын
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 7 ай бұрын
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 7 ай бұрын
Thanks @@Jims-Garage for the quick reply, I just found your video and I working through it now.
@RiffyDevine
@RiffyDevine Ай бұрын
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 Ай бұрын
@@RiffyDevine I believe it can be shared but not sure about configuration
@radhiyahwilliams829
@radhiyahwilliams829 4 ай бұрын
Hi, Has anyone managed to setup authentik with a angular project?
@fulesmackofule
@fulesmackofule 9 ай бұрын
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 9 ай бұрын
It's because I'm using the same account as I'm currently logged into Authentik with.
А ВЫ ЛЮБИТЕ ШКОЛУ?? #shorts
00:20
Паша Осадчий
Рет қаралды 9 МЛН
Самое неинтересное видео
00:32
Miracle
Рет қаралды 2,9 МЛН
iPhone or Chocolate??
00:16
Hungry FAM
Рет қаралды 37 МЛН
Zitadel, Single Sign On, and OAuth. It's Impressive!
24:20
Jim's Garage
Рет қаралды 42 М.
self-host the INTERNET! (before it's too late)
15:14
TechHut
Рет қаралды 280 М.
Keycloak Is AWESOME! Single Sign On Made Easy!
25:05
Jim's Garage
Рет қаралды 92 М.
2 Factor Auth and Single Sign On with Authelia
25:22
Techno Tim
Рет қаралды 143 М.
Secure authentication for EVERYTHING! // Authentik
39:50
Christian Lempa
Рет қаралды 165 М.
Replace Authelia With Authentik Web Proxies And OAuth2
14:04
Jim's Garage
Рет қаралды 32 М.
Authentik - Users' Apps Restriction
6:07
Cooptonian
Рет қаралды 8 М.