Authentik - open source, self hosted authentication system with OIDC, SAML, and more...

Поділитися
Вставка
  • Опубліковано 31 тра 2024
  • === Links ===
    Show Notes
    wiki.opensourceisawesome.com/...
    Authentik Site
    goauthentik.io/
    Cooptonian Channel (Great Authentik Series)
    / @cooptonian
    Jim's Garage Channel
    / @jims-garage
    Scottibyte Channel
    / @scottibyte
    Get the AwesomeOpenSource Merchandise
    awesomeopensource.creator-spr...
    Support my Channel and ongoing efforts through Patreon:
    / awesomeopensource
    Buy Me a Coffee or Beer
    paypal.me/BrianMcGonagill?cou...
    === Timestamps ===
    00:00 Beginning
    06:10 Install and Configure Authentik
    20:32 Setup the Reverse Proxy
    24:39 Setup a Forward Authentication Proxy
    34:31 Setup OIDC in Authentik
    === Contact ===
    Twitter: @mickintx
    Telegram: @MickInTx
    Mastodon: @MickInTx@fosstodon.org
    Try out SSDNodes VPS Services! Amazing Specs for incredibly low costs. I'm running a 32 GB RAM / $ CPU Server for only $9 a month! Seriously. FOr long term server usage, this is the way to go!
    www.ssdnodes.com/manage/aff.p...
    Get a $50.00 credit for Digital Ocean by signing up with this link:
    m.do.co/c/a6a61ae55242
    Use Hover as your Domain Name Registrar to get some great control over you domains / sub-domains:
    hover.com/SHPaiirr
    Support my Channel and ongoing efforts through Patreon:
    / awesomeopensource
    What does the money go to?
    To Pay for Digital Ocean droplets, donations to open source projects I feature, any hardware I may need to purchase for future episodes (which I will then give to a subscriber in a drawing or contest).
  • Наука та технологія

КОМЕНТАРІ • 98

  • @AwesomeOpenSource
    @AwesomeOpenSource  7 місяців тому +11

    In my usual fashion, this took a lot longer than I anticipated. I stumbled a couple of times during the video, and it gives you a chance to see how I adjust things. I hope it will be helpful to you all. I've been busy getting a lot of my stuff setup on Authentik over the past few weeks.

  • @DanielJurnik
    @DanielJurnik 2 місяці тому +3

    You are an excellent teacher! Thank you for everything you do!

  • @diyainfotech1903
    @diyainfotech1903 6 місяців тому +4

    Thanks a lot for making videos that make complex things easy to understand, Not only "Open Source" but also Brian is awesome

  • @i-am-you-tube
    @i-am-you-tube 7 місяців тому +3

    Thanks a lot Brian for this one. I was just on the point for installing Authentik. Still got Authelia running in the background, thanks to you also. Keep up the good work buddy, very much appreciated 👍🙏

  • @Jims-Garage
    @Jims-Garage 7 місяців тому +3

    Thanks for the reference, keep up the great work, love the channel! Congratulations on 100k 🎉

    • @AwesomeOpenSource
      @AwesomeOpenSource  7 місяців тому +2

      Thank you as well. Love the stuff you're doing too. Well done!

  • @leetaeryeo5269
    @leetaeryeo5269 7 місяців тому +2

    Ooh, this is something relevant to my interests and professional tasks. Will have to keep this in mind for future projects

  • @oscarcharliezulu
    @oscarcharliezulu 5 місяців тому +1

    Just came across your vid whilst browsing around. Brilliant - didnt know about this - or about the other youtubers you mentioned.

  • @JoeWhipple
    @JoeWhipple 7 місяців тому +5

    Since you have done some Free-IPA stuff, you can also federate Authentik with Free-IPA. I find the SUDO management, SSH key management and Password+OTP features of Free-IPA a must have for me.

  • @FranckEhret
    @FranckEhret 7 місяців тому +4

    Wow, Authentik is "fantastik" ! Thanks for this !

  • @jamesnb
    @jamesnb 5 місяців тому +2

    Awesome tutorial on the Authentik. I followed your Authelia now Authentik, much better! I would be excitied to see if we can setup Authentik with Traefik instead of NPM, if you have sometimes of course! Again, thanks for making so useful guides

    • @AwesomeOpenSource
      @AwesomeOpenSource  4 місяці тому

      Let me see. There are a few others who cover using Trraefik more than I do, but let me see what I come up with.

    • @jamesnb
      @jamesnb 4 місяці тому

      @@AwesomeOpenSource I watched a fair bit of them but to be honest, none comes close to your details and straight to the point style. Installation is easy but more important is how to configure it to work with other app and for this, I have yet to see anything that is clear and easy to follow, like your other tutorials. But thank again for considering this. Cheers

  • @BPL-Whipster
    @BPL-Whipster 6 місяців тому +1

    Great video! Really helpful.

  • @ShighetariVlogs
    @ShighetariVlogs 6 місяців тому +1

    Love this, thank you!

  • @cooptonian
    @cooptonian 7 місяців тому +1

    As usual, great video! Thanks for the shout-out!😁

  • @chupacabrajr4152
    @chupacabrajr4152 5 місяців тому +1

    recently discovered your chanel, it's very neat. props on explaining all that .yml options. love it. insta subsribe

  • @jonassaso
    @jonassaso 2 місяці тому +1

    Hello Brian, please help. I'm lost after 30 minute mark. You inputted http and then it was cut out. What did you type?

    • @AwesomeOpenSource
      @AwesomeOpenSource  2 місяці тому +1

      That was an edit I made because I did things in a very weird order when I recorded it. I just re-ordered it in the video to try to make the order more sensible. Sorry for the confusion. Just ignore it the first time where I cut there. Apologies for that.

    • @jonassaso
      @jonassaso 2 місяці тому

      @@AwesomeOpenSource Thank you. Anyway, please continue with your valuable work; it has been incredibly helpful, and I've gained a lot of knowledge from your videos.

  • @vishalgoud8284
    @vishalgoud8284 6 місяців тому +1

    while creating the reverse proxy, what should I do if don't own a DNS. Is there any alternative to set it up locally for testing purpose?

    • @AwesomeOpenSource
      @AwesomeOpenSource  6 місяців тому +2

      You can use a local domain, and you need to resolve it on your LAN properly.

  • @matthewstout7974
    @matthewstout7974 5 місяців тому +1

    I wonder if you happen to have any more insight on the "Request has been denied" message you mentioned in the video? I get this 100% of the time while trying to set up. Cleared volumes and folders, tried different browsers, cleared cache.

    • @AwesomeOpenSource
      @AwesomeOpenSource  5 місяців тому

      No, I'm sorry, I don't. I haven't seen it since then, and I've setup Authentik for about 7 or 8 of my applications to give single sign on access. You might post it on their discussion, or search their discussions at github.com/goauthentik/authentik/discussions to see if anyone there can help you.

  • @Adam-ue3mv
    @Adam-ue3mv Місяць тому +1

    Love your work!
    Wondering if you can do a bit of an all encompassing video?
    So in my case, I have a cloudflare tunnel so as not to have ports open. External access through this works great.
    Internally, I have NPM running and PiHole - in PiHole I have the same DNS names as cloudflare above setup pointed to NPM - therefore getting full https support and accessing everything from the same URLS all the time.
    I am about to implement Authentik - but I cannot see a simple way to make the tunnels and NPM work together to then allow the authentik rules to come into play.
    I know I can ditch the tunnel and open ports, but I would prefer to keep this as well - love to hear your thoughts and your followers

    • @AwesomeOpenSource
      @AwesomeOpenSource  Місяць тому

      I don't use cloudflare. It's hard for me to say what might be different there. I think it can work, but not sure I'm the right person to try and explain it.

  • @TheoWillemse
    @TheoWillemse 19 днів тому +1

    is it me or is there an gap in the video at (about) 29:50?

    • @AwesomeOpenSource
      @AwesomeOpenSource  17 днів тому

      There's a small jump, sorry about that. Editing issues.

  • @phonerepairshopmatamata
    @phonerepairshopmatamata 6 місяців тому +1

    @AwesomeOpenSource .. I love your videos and have learnt so much from you.Would love to see a video of Nginx+Authelia video ..how to secure the apps hosted on nginx with Authelia .. if you get the time i am sure others will appreciate it too.

    • @AwesomeOpenSource
      @AwesomeOpenSource  6 місяців тому

      Not sure if you saw my Authelia video, but I did do apps with Authelia and NGinX Proxy Manager. ua-cam.com/video/5KtbmrUwYNQ/v-deo.htmlsi=3T-LZVQKllr1ff4X Hope it's what you're looking for.

  • @ArifKamaruzaman
    @ArifKamaruzaman 7 місяців тому +4

    I tried Authentik before but I'm still confused about it. Now I watched your video, I'm feeling confident I can make this one work. Finally.
    btw, -d means detach.

  • @NorthhtroN
    @NorthhtroN 7 місяців тому +1

    Love the video, just a quick comment at around 30min I think the section was cut to soon and it jumps from provider to application setup mid provider setup

    • @AwesomeOpenSource
      @AwesomeOpenSource  7 місяців тому +1

      That was an edit I made because I did things in a very weird order when I recorded it. I just re-ordered it in the video to try to make the order more sensible. Sorry for the confusion.

    • @NorthhtroN
      @NorthhtroN 7 місяців тому +1

      @@AwesomeOpenSource all good have had authentik setup for a while now was watching to see if I missed anything. Finally got my email setup and working as your video reminded me to actually do that hah.
      Love the videos and appreciate all the info you are Sharing on the open source community!

  • @andoniortiz4774
    @andoniortiz4774 6 місяців тому +1

    Eres genial!

  • @ShaunWilliams
    @ShaunWilliams 6 місяців тому +1

    After a recent password breech at work, we are now looking at ways to improve security. This piked my interest, but I was wondering if anyone has any links or other videos that show example use cases sort of thing for using this in a business environment, specifically currently using Active Directory. Like can this sit beside active directory and sync passwords and such, also will theis let me use MFA with Active Directory? Out current setup is Active Directory (Local) and It syncs to Google for Work/Gsuite/Google Apss or whatever name it has now days.
    WOuld be nice to be able to enable MFA for all users (around 40) and have a single authentication for everything like RDS, Intranet, pfsense, etc etc....

    • @AwesomeOpenSource
      @AwesomeOpenSource  6 місяців тому +1

      I don't have any real Active Directory experience. that said you should just ask the folks at Authentik. I'm sure they'd be happy to tell you what all it's capable of with respect to AD.

  • @hunterhearne
    @hunterhearne 26 днів тому +1

    I can't get smtp to work, it's working fine on my other containers and setup correctly (I think) but authentik just won't send emails. Everything else seems to be working great though!

    • @AwesomeOpenSource
      @AwesomeOpenSource  25 днів тому +1

      Check the logs on Authentik, as well as your mail server. I haven't had an issue with mail on Authentik so far, but without some logging, it's hard to know.

    • @hunterhearne
      @hunterhearne 25 днів тому +1

      @AwesomeOpenSource authentik is a cool product but after several more hours of troubleshooting I'm opting for authelia or keycloak
      Also just ending up redoing my entire home lab and networking to clean up a bunch of older stuff while I was learning.
      Appreciate your reply, and thank you so much for everything you've done for the community! Love your videos and will definitely be referencing them again in the next few days getting everything re-set back up

    • @AwesomeOpenSource
      @AwesomeOpenSource  21 день тому +1

      Let me know how it goes with Keycloak if you decide to go that route. I"ll point your to @JimsGarage here on UA-cam. It's a great channel, and he's done some Keycloak content.

  • @ajnasaboobacker2267
    @ajnasaboobacker2267 7 місяців тому +2

    Can you also create a video for how this works with Cloudflare tunnels?

    • @AwesomeOpenSource
      @AwesomeOpenSource  7 місяців тому

      I don't use Cloudflare tunnels, but @Cooptonian has a video with Cloudflare Tunels in the title. Here's the link to that one. Maybe it will help you out. ua-cam.com/video/Fe5SttNa2lU/v-deo.htmlsi=Fi7SEPwk_LrJUSES

  • @stojanikl
    @stojanikl 5 місяців тому +1

    I've followed your guide with nginx reverse proxy and tried to put authentic on the top of heimdal (dashy alternative) whats happening in my case is that after successful authentication authentic redirects me to local ip rather fqdm. Any tips what I might have done wrong?

    • @AwesomeOpenSource
      @AwesomeOpenSource  5 місяців тому +1

      In your authentic provider, you should have a place for a redirect URL, make sure to fill that with the fqdn. It can autofill sometimes, but sometimes it just guesses.

    • @stojanikl
      @stojanikl 5 місяців тому

      @@AwesomeOpenSource It seems like its specific to Heimdall only all other reverse proxied apps are working just fine. Fantastic video guide from you like always!

  • @nickyeoman
    @nickyeoman 6 місяців тому +1

    I would recommend wget official compose file (see official docker documentation).

    • @AwesomeOpenSource
      @AwesomeOpenSource  6 місяців тому

      The script I use to install docker and docker compose installs it from the github repository.

  • @majidkhoram2451
    @majidkhoram2451 7 місяців тому

    What would happen to sign ups?
    Would it handle signing up for a user if he doesn't have any credentials?

    • @AwesomeOpenSource
      @AwesomeOpenSource  7 місяців тому +1

      You can setup registration and invitations in Authentik, though it's not setup that way by default. I'll refer you to @cooptonian for the video on setting up Invites and registration. ua-cam.com/video/mGOTpRfulfQ/v-deo.htmlsi=FsKHv7T-MoeJspZy

  • @Myuuiii
    @Myuuiii 7 місяців тому +1

    Never been this early to any video, ever

  • @jameskirkpatrick5781
    @jameskirkpatrick5781 7 місяців тому +1

    theres a missing section between providers and applications around 30:16

    • @AwesomeOpenSource
      @AwesomeOpenSource  7 місяців тому

      It’s not missing. I just edited to put things in proper order instead of my crazy brained order. Sorry for the confusion on that.

  • @madhank93
    @madhank93 7 місяців тому +1

    Thanks for sharing. What's your view on Teleport ?

    • @AwesomeOpenSource
      @AwesomeOpenSource  7 місяців тому

      I've heard about it, but never tried it. So not really sure. I'll have to add it to my list. If I can self host it, I'll most likely like it.

  • @xlalatx
    @xlalatx 6 місяців тому +1

    is this some kind of "keycloak" alternative?

    • @AwesomeOpenSource
      @AwesomeOpenSource  6 місяців тому

      I suppose you could look at it that way. It’s an authentication system that supports Proxy, OIDC OAuth2.0, LDAP and more.

  • @DariusOosthuizenSuper
    @DariusOosthuizenSuper 7 місяців тому +3

    Is it just me or is there some footage missing at 30:03 ?

    • @FranckEhret
      @FranckEhret 7 місяців тому +2

      I also noticed a glimpse

    • @DSVWARE
      @DSVWARE 7 місяців тому +2

      Plus the provider type is changed to proxy when we see it again after the footage blip

    • @AwesomeOpenSource
      @AwesomeOpenSource  7 місяців тому +5

      I think I moved a bit of footage to an earlier part of the video there (I did something out of order essentially) to keep the video order less confusing with all my jumping around. So likely a bit left from where i cut it and moved that section. Sorry for the weirdness. I'm teaching my niece to edit for me, she's 12, and doing really great, but this was a tough one for her for sure.

    • @DariusOosthuizenSuper
      @DariusOosthuizenSuper 7 місяців тому +1

      @@AwesomeOpenSource No worries, will follow it further when I install it myself...

    • @FranckEhret
      @FranckEhret 7 місяців тому +1

      No pb, for my side, I just noticed a glimpse but no "no sense" in the editing" 🙂

  • @ozzykampha2776
    @ozzykampha2776 7 місяців тому +1

    Thank you for this one, i was looking for å way to use authentik.
    Can you also do one on Minio?

    • @AwesomeOpenSource
      @AwesomeOpenSource  7 місяців тому +3

      Minio is on my list. So, definitely coming in the future.

  • @spiritcxz
    @spiritcxz 2 місяці тому +1

    Its only available in containers? I can install it like keycloak as systems service?

    • @AwesomeOpenSource
      @AwesomeOpenSource  Місяць тому +1

      Here's a repo that will help you install authentik on bare metal. github.com/gtsatsis/authentik-bare-metal Hope it helps.

  • @rkolibri96
    @rkolibri96 7 місяців тому +1

    Would you consider doing an integration video for Nextcloud and Authentik , i tried setting it up some months ago but had issues with the authentication and SSO also had some weird redirections on the nextcloud resulting to a failure.
    Great content btw as always!
    Keep it up
    Edit : Account not provisioned.
    Your account is not provisioned, access to this service is thus not possible.
    That's what I get when trying to login using Authentik SAML

    • @AwesomeOpenSource
      @AwesomeOpenSource  7 місяців тому

      I can, but I used OIDC for my Authentik to NextCloud. You have to add an extension, and once it's added you can setup the connection. I'll see what I can do.

    • @rkolibri96
      @rkolibri96 7 місяців тому

      @@AwesomeOpenSource hmm, okay I'll do some more investigation on the issue and find a workaround for SAML otherwise I'll stick with OIDC. Thanks anyway

    • @brerlapn
      @brerlapn 7 місяців тому +1

      @@rkolibri96 Unless you have a specific requirement to use SAML, OIDC should be substantially more straightforward to set up. It's a more modern protocol with a less fussy structure.

    • @rkolibri96
      @rkolibri96 7 місяців тому +1

      @@brerlapn I know about OIDC just wanted to try out SAML but no success, ended up changing my configuration to use OpenID instead, Authentik is pretty new to me and I'm still going through the documentation for the perfect integration with all my services ( around 30 in my current setup in my Homelab )
      Thanks for your comment btw .

    • @AwesomeOpenSource
      @AwesomeOpenSource  6 місяців тому +1

      There are a couple of articles on setting it up. The thing that kept getting me was no matter what I selected to match on my current user and Authentik user wouldn't merge or connect up. I ended up using a different add-on in next cloud that then allows each user to go in and setup Social Login on their account. Kind ofa pain, but at least it provides SSO. If your users don't have any nextcloud account yet, then you can use the official add-on as it will provision one. You can also do the reverse and use nextcloud as your OIDC provider for other applications, which is pretty interesting to me.

  • @Michael-rq8zj
    @Michael-rq8zj 7 місяців тому +1

    Just right after i set up Authelia lol.

    • @AwesomeOpenSource
      @AwesomeOpenSource  7 місяців тому +2

      Like I said, if Authelia is working for you, then there's no need to jump over to Authentik, it's just another option.

    • @phonerepairshopmatamata
      @phonerepairshopmatamata 6 місяців тому +1

      Would you make a video of the authelia+nginx configuration ?

    • @AwesomeOpenSource
      @AwesomeOpenSource  6 місяців тому

      When you say nginx with authelia, what are you looking for specifically?

  • @EduardoMazolini
    @EduardoMazolini 7 місяців тому

    I my case open "not found" 19:15

  • @ws_stelzi79
    @ws_stelzi79 7 місяців тому +2

    TBH someone that "fiddles around" with something like Authentik doesn't need an introduction of the concept of "hidden" files in Linux! They should have a somewhat solid foundational knowledge about this concept of Linux in order to have any chance of having a running service.
    Maybe have at the start of video a short segment of what prior knowledge is recommended in order to be successful. Maybe make some videos of these basic topic and point to them if needed.
    IMO these little titbits of very basic stuff clutters the video a bit and that is why they are over 40 mins long.

    • @AwesomeOpenSource
      @AwesomeOpenSource  7 місяців тому

      I somewhat agree, but I also know some people are semi-advanced users coming from Windows where hidden files are handled very differently. So I find it worth while to say the things we may find simple, as it may just help someone realize something they may not have been introduced to on another OS.

  • @bluesquadron593
    @bluesquadron593 7 місяців тому +1

    lol watching the same creators

    • @AwesomeOpenSource
      @AwesomeOpenSource  7 місяців тому +1

      I watch so many great channels. Most of them do such a great job making things concise and entertaining at the same time.