Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    HAproxy server authorisation using an API or OAuth / JWT tokens.

    Scheduled Pinned Locked Moved Cache/Proxy
    2 Posts 2 Posters 1.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      wontbeherelong
      last edited by

      I'm using HAproxy as a reverse proxy, using a number of different sub domains. My main domain points to my 'Organizr' instance, and I've been reading this article on severauth: https://docs.organizr.app/books/setup-features/page/serverauth

      What I'd like is to use one of the methods given to only allow access to my subdomains if a user is logged in to Organizr, and if not redirect them to my main domain. Examples are given for nginx and caddy, but not for HAproxy. Having gone this far, I'd rather try and do it with HAproxy now (and hopefully learn something).

      Can anyone tell me which method(s) are possible in HAproxy, and point me towards any tutorials/further reading? I've had a google and I'm not turning up a great deal, so could do with a nudge.

      C 1 Reply Last reply Reply Quote 1
      • C
        cjangrist @wontbeherelong
        last edited by

        @wontbeherelong bump. Exact same , love offense and haproxy but would like to auth with google workspace

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.