bzp2010 opened a new issue #2384:
URL: https://github.com/apache/apisix-dashboard/issues/2384


   # Feature request
   
   ## Please describe your feature
   
   **The current jwt-auth plugin configuration in APISIX has special logic. If 
a user uses `HS` mode but does not set a secret, APISIX will generate one and 
write it to etcd, but the dashboard does not have the corresponding logic.**
   
   ## Describe the solution you'd like
   
   Before we switch to using the Admin API directly, we need some means to 
circumvent this problem, and I think we can add a form UI to it that helps 
users avoid this problem by forcing input requirements and automatically 
generating random characters.
   
   ## Describe alternatives you've considered
   
   The above solution is a front-end solution, we can also extend the logic in 
the back-end to merge a copy of the patched jsonschema into the actual version 
to ensure we can enforce the secret presence check. (We have difficulty 
directly modifying the jsonschema data exported through the APISIX Control API)
   
   ## Additional context
   
   https://github.com/apache/apisix/issues/6564
   https://github.com/apache/apisix-dashboard/issues/2383
   https://github.com/apache/apisix-dashboard/issues/2176#issuecomment-944127485


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to