PR to resolve the issue with unauthenticated role being used to talk to the assistant bot.
The unauth role still exists and is active but has no permissions. The Lex Web UI expects the authenticated role to exist when it establishes initial contact with Cognito, but as long as an authenticated user exists it will not make any calls to Lex with the unauthenticated user. The user exists with a role that has no permission policies granted.
Because the Web UI & LMA use different version of Cognito auth libraries, the expected local storage tokens are named differently and the easiest solution was just to push what the Web UI expected as a local storage item with the auth data.
Everything else is just about hooking up the user pool to the Web UI since it previously did not have one. It is sharing the user pool with the larger LMA application.
PR to resolve the issue with unauthenticated role being used to talk to the assistant bot.