packetfence icon indicating copy to clipboard operation
packetfence copied to clipboard

Draft of Huawei WebAuth

Open fdurand opened this issue 1 year ago • 1 comments

Description

Support for Huawei WebAuth

Impacts

No impact

Delete branch after merge

YES

Checklist

  • [ ] Document the feature
  • [ ] Add OpenAPI specification
  • [ ] Add unit tests
  • [ ] Add acceptance tests (TestLink)

NEWS file entries

New Features

  • Support for Huawei WebAuth

WARNING

This PR require a change in the Huawei radius dictionary (https://github.com/Huawei/OSPO/blob/main/Dictionary_FreeRadius)

This:

                'Huawei-Redirect-ACL' => $role,
                'Huawei-DHCPv4-Option43' => $redirect_url,
                'Huawei-DHCPv4-Option121' => 1,

Should be:

                'Huawei-Redirect-ACL' => $role,
                'Huawei-Portal-URL' => $redirect_url,
                'Huawei-URL-Flag ' => 1,

fdurand avatar Feb 23 '24 20:02 fdurand

Needs to adapt the Huawei dictionary https://github.com/Huawei/OSPO/blob/main/Dictionary_FreeRadius

fdurand avatar Feb 23 '24 20:02 fdurand