Closed c0ze closed 6 years ago
Hi, I think we need JWT support both of route level & service level.
Read JWT_KEY env variable when function-ui starts up. and generate JWT for each request to the function server. Regarding access restrictions to the UI, it's better to do it on another layer( e.g Basic Auth on Nginx)
What do you think?
Regarding JWT tokens, yes, looks good ! I agree with your points !
Regarding access restrictions to the UI, it's better to do it on another layer( e.g Basic Auth on Nginx)
Arghh yes, never though about this ! This is of course absolutely necessary as well. I'll think about it ! (You can assume this is out of scope of JWT auth) Let's handle this separately !
Yeah, I'll work on Route level one for now :)
Now that functions support JWT auth, we need to add this to the UI as well. @kunihiko-t what do you think ?