open-wa / wa-automate-docker

💬 🤖 The easiest way to turn your WhatsApp into an API. Be sure to 🌟 this repository for updates!
110 stars 31 forks source link

How do I find the session data base64 string? #36

Closed yinonhever closed 2 years ago

yinonhever commented 2 years ago

A comment on the docker-compose.yaml file says the following: "Uncomment next line and add the session data base64 string to authenticate the session without the need to scan it again"

I downloaded the repo's files, built and run the docker image locally on my server, and scanned the QR code for the initial authentication, Where can I find the session data, and the base64 string that's needed to autothenticate the next session automatically? I couldn't find any file that was auto-generated.

smashah commented 2 years ago

session data is a relic of legacy (non-multi-device) sessions. If you have a multi device enabled account, it's irrelevant. add the flag --multi-device at the end of your docker run command to use the docker image with md