Open vasuvanka opened 6 years ago
@vasuvanka thanks for the report.
I think this is a UX issue. The prompt says "An issuer needs to know the audiences that will be served done
to stop the loop. However, this may not be obvious enough, so perhaps it would be better to prompt after each JWT configuration whether or not the add another JWT configuration, or continue.
I'll label this as an enhancement, and we'll include the improvement next release.
For now, however, just type done
to break out of the loop.
Thanks!
Steps to reproduce 1) create a project using Sapi init sakura-test. 2) follow the description and provide inputs until JWT role * What JWT role does this server fulfill?: (none) select i)issuer ? Server JWT Issuer Name: localhost ? Server JWT Signing Key: BbI.4DdtAuHGGYOHYWya}OxEF3&6+oH
then it will ask for audiences ? Audience Server Name: localhost:5050 ? Audience Server Key: "=BQgkEl:rCwuj&J#vk,#wS_)Ho4zC[+
it will loop continuously there is no specified way to exit from the loop.
if I forcefully exited the process then all my actions and data loss.so here there should be a way to exit from the loop while configuring the issuer.