Comments (3)
It is whatever you set it to in here.
from twilio-conversations-demo-react.
It is whatever you set it to in here.
Sorry, it is not clear for me where to set the credentials. I've already created an .env
file with the token function
.env
REACT_APP_ACCESS_TOKEN_SERVICE_URL=https://twilio-react-chat-service-01234.twil.io/token-service
However, on the docs, this is the instruction. I can't understand where I should put this query string, and where I set up the credentials.
$REACT_APP_ACCESS_TOKEN_SERVICE_URL?identity=<USER_PROVIDED_USERNAME>&password=<USER_PROVIDED_PASSWORD>
Can you please clarify?
from twilio-conversations-demo-react.
@darde the token generator provides tokens based on your credentials, so the token generator function decides what users and passwords are. In the demo they are set in the generator function - https://github.com/twilio/twilio-conversations-demo-react#generating-access-tokens-with-twilio-functions
There's a section which lists users and passwords for testing:
// If you do not want to pay for other people using your Twilio service for their benefit,
// generate user and password pairs different from what is presented here
let users = {
user00: "", !!! SET NON-EMPTY PASSWORD AND REMOVE THIS NOTE, THIS GENERATOR WILL NOT WORK WITH EMPTY PASSWORD !!!
user01: "" !!! SET NON-EMPTY PASSWORD AND REMOVE THIS NOTE, THIS GENERATOR WILL NOT WORK WITH EMPTY PASSWORD !!!
};
from twilio-conversations-demo-react.
Related Issues (20)
- Error "Cannot read properties of undefined (reading 'then')" on new conversation. HOT 2
- TypeError: undefined is not an object (evaluating 'this._conversationsPromise.then') HOT 5
- Preview fails with @twilio/conversations HOT 1
- app setup issues HOT 7
- Conversations list in the left pane is not scrollable HOT 5
- Convo List does not handling a long list very well
- Couldn't initialize firebase app HOT 1
- Cannot create a new conversation HOT 20
- FCM notification priority HOT 1
- TypeError: Cannot read properties of undefined (reading 'updateToken') HOT 5
- How to delete the chats for the participant who has left the conversation HOT 14
- Unable to connect: Connection is not initialized
- Destroy client at logout HOT 1
- how to check user is online HOT 14
- Create Conversation Chat_Service_SID Specific HOT 6
- older messages are append bottom instead of top HOT 4
- CONVERSATIONCLIENT.getSubscribedConversation doesn't update instantly HOT 3
- Getting Error on Chat Participant add HOT 4
- How to get all twilio users from the corresponding service
- textbox message makes empty when new messages are comming
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 twilio-conversations-demo-react.