• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 988 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 May 27, 2019, 5:36 PM

    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 Aug 6, 2022, 7:34 PM Reply Quote 1
    • C
      cjangrist @wontbeherelong
      last edited by Aug 6, 2022, 7:34 PM

      @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.
        [[user:consent.lead]]
        [[user:consent.not_received]]