Has anyone tried to configure authelia or authentik with a local nfty server, do you know any way to protect the web interface?

  • nicnic2001@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    So do you add ‘ntfy.example.com’ in your one/two_factor policies? And then a separate ‘ntfy.example.com’ with the resource regex for bypass policy?

    For example:

        - domain:
          - ntfy.example.com
          policy: two_factor
          subject:
          - ["group:admins"]
        
        - domain:
          - ntfy.example.com
          methods:
          - GET
          resources: '^/test([/?].*)?$'
          policy: bypass