Comments (6)
+1 for integrating Cognito login to lex-web-ui (with ability to enable/disable via config)
from aws-lex-web-ui.
Hi Tushar,
The Lex web UI uses AWS credentials to authenticate to the Lex and Polly services. From your web application, you can use Cognito User Pools to provide the login functionality and to obtain AWS credentials associated to the users. Once your application obtains AWS credentials, it can instantiate the Lex and Polly clients with the credentials from Cognito and pass the client instances to the Lex web UI.
This use case would require you to build the login functionality in your own web application and import the Lex web UI into your project. In this setup, the Lex web UI is consumed as an imported library which can be used as a Vue plugin.
The Tracking Bot project integrates the Cognito hosted UI with the Lex web UI using the approach described above. You can see the integration of it in the following file: App.vue.
Hope this helps.
-- Oliver
from aws-lex-web-ui.
Hi Oliver,
Can you please elaborate more ,even i don't have knowledge of "vue".Please specify the location and file which require changes for this task, also provide the code with example if possible.
Thanks,
Tushar Choudhary
from aws-lex-web-ui.
Tushar,
I am unable to provide specific code or a list of files/changes beyond the references I provided above. My first impression is that this functionality is beyond the scope of this project and may be better suited to be an external component that just integrates by passing credentials or AWS client instances to the Lex web UI.
I'll leave this ticket open for a while to track the level of interest or ideas.
-- Oliver
from aws-lex-web-ui.
Hi if am trying to access this http://localhost:8080/parent.html
from this aws-lex-web-ui-master\lex-web-ui
folder then i am getting this error iframe-component-loader.js:271 GET http://localhost:3000/admin/index.html 404 (Not Found)
in my console. But if I am trying to access the url localhost:8080/ i am able to see the bot which i have made.
My requirement is towards loading the iframe. Any help is appreciated. Thanks.
from aws-lex-web-ui.
we are tracking this feature in #51
from aws-lex-web-ui.
Related Issues (20)
- lex-web-ui not loading in some Chrome Incognito browsers HOT 6
- Chat History HOT 2
- Failed to load resource S3 bucket error HOT 6
- Lex bot is not connecting to UI
- Auto pop up the chat window HOT 4
- I can see the resopnse in network tab when inspect the element. But on chat window it shows only some line HOT 1
- ImageResponseCard not working (with Voice Input) HOT 1
- Transferring to Agent HOT 2
- Lex Web Ui will not read back Custom Payload answers HOT 1
- Several problems with voice HOT 3
- Can we add a static message in bottom of chat window HOT 1
- How to add the Dropdownlist in the ui HOT 1
- Thumbs up and Thumbs down button disappeared after change Lex response to Lambda hook HOT 8
- toolbarLogo & avatarImageUrl in the v0.20.0 template is not working HOT 4
- Unable to create hyperlinks in intialText HOT 6
- How to remove console.log's when integrated as Iframe? HOT 9
- Move chatbot widget position and increase size within parent.html HOT 1
- initialText multilanguage and changing language dynamically without click button in the corners HOT 1
- Getting no response on lex Ui bot HOT 4
- Update npm package? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-lex-web-ui.