qnabot-on-aws
qnabot-on-aws copied to clipboard
Restrict Access
Create a way to restrict access to client ui. first) get proper credentials, could use cognito hosted login second) send credentials to lex web ui
solution: in client UI: if(JWT from Cognito hosted login in url hash){ use JWT to get AWS credentials use credentail to create lex and polly clients pass clients to lex web ui }
Will need to make sure unathenticate role has premissions removed and authenticated role has lex and polly permissions
do this as part of #4
this is implement but buggy and not documented