EAP-PEAP REST Authorize Multiple API Calls

Emile Swarts emile at madetech.com
Wed Jan 9 16:31:23 CET 2019


Hi,

I use the rest module to authenticate with a custom API backend with
EAP-PEAP.
It works well apart from the fact that each request hits the backend API 3
times.

I have no rest calls in my default virtual server, just the inner-tunnel.

Does anyone have any ideas on how to fix this?

This is what my inner-tunnel virtual server looks like:

server inner-tunnel {
  authorize {
    filter_username
    rest
    eap {
      ok = return
    }
  }

  authenticate {
    Auth-Type MS-CHAP {
      mschap
    }
    eap
  }

  session {
  }

  post-auth {
    redundant {
      rest
      ok
    }

    Post-Auth-Type REJECT {
      redundant {
        rest
        fail
      }
    }
  }

  pre-proxy {
  }

  post-proxy {
    eap
  }
}


More information about the Freeradius-Users mailing list