-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use Chatbot in private #212
Comments
hmm not possible for now, something we plan on roadmap |
Hi, sequenceDiagram
participant User
participant API Gateway
participant Identity Server
participant FlowiseAI API
User->>Identity Server: OAuth dance to get JWT token
Identity Server-->>User: Get JWT Token and store in Browser
User->>API Gateway: GET /api/ai/* (JWT injected in header)
Note right of API Gateway: API Gateway validates JWT
API Gateway-->>FlowiseAI API: Forward request unauthenticated
FlowiseAI API-->>API Gateway: Response
API Gateway-->>User: Response
|
What's oauth2 grant type do you use in myIdentityApi.getCredencial() |
In our case we have integrated it within our Backstage portal. Backstage provides a way to get the JWT token clientside. Other sites might store it in local storage. It really depends on the framework you are using. In Backstage the auth flow is consent and refresh flow: https://backstage.io/docs/auth/oauth |
Could we restrict chat user by personal token (API key) or username, password .
Do not want to public bot in the internet
The text was updated successfully, but these errors were encountered: