Giter VIP home page Giter VIP logo

Comments (6)

rstrahan avatar rstrahan commented on May 20, 2024 4

+1 for integrating Cognito login to lex-web-ui (with ability to enable/disable via config)

from aws-lex-web-ui.

atoa avatar atoa commented on May 20, 2024

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.

tusharIndore avatar tusharIndore commented on May 20, 2024

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.

atoa avatar atoa commented on May 20, 2024

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.

dileephell avatar dileephell commented on May 20, 2024

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.

JohnCalhoun avatar JohnCalhoun commented on May 20, 2024

we are tracking this feature in #51

from aws-lex-web-ui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.