Bug fixes while testing (#6607)
commit6a50dc6aeb25aae2f00cd95841611054144a2521
authorJerry Padgett <sjpadgett@gmail.com>
Fri, 30 Jun 2023 14:10:19 +0000 (30 10:10 -0400)
committerGitHub <noreply@github.com>
Fri, 30 Jun 2023 14:10:19 +0000 (30 10:10 -0400)
tree30a39c25a6e2a8da2a7d5f53cca2498a20ebf730
parentbb1d40320d284cd01118fe6d3755efece3e5c2dc
Bug fixes while testing (#6607)

* Bug fixes while testing
- add use include for rest_config class in api authorization controller
- remove key so it can regenerate if key is empty or corrupted.

* revert delete key to only if dev mode set
test if rest_config is callable. Overkill but as was is iffy.
src/Common/Auth/OAuth2KeyConfig.php
src/RestControllers/AuthorizationController.php