PaloAltoNetworks / a3s

Auth As A Service
Apache License 2.0
8 stars 5 forks source link

Fixed: Allow dashes in namespaces and fix a fatal message #59

Closed ericrpowers closed 2 years ago

ericrpowers commented 2 years ago

Description

During testing I noticed the following error when creating a namespace with a dash (-):

error 422 (elemental): Validation Error: Data 'a3s-test' of attribute 'name' must only contain alpha numerical characters, '-' or '_'

This was due to the regex missing the support for dash. Mimic'd the same regex from gaia namespace and regenerated files.

Also, while bringing up a3s with shared backend, I noticed a fatal that was misleading. Fixed it as well. ;)