-
-
Notifications
You must be signed in to change notification settings - Fork 612
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
QR URL for easyAPI #3016
Comments
watching :)
i am spinning up open-wa with npx on a python subprocess, i can create a new directory, open the process from there, |
Yes this might be a smart workaround , environment variable or CLI flag in
case of EasyApi
…On Mon, Jan 16, 2023 at 7:43 PM Mohammed Shah ***@***.***> wrote:
Hmmm, it's assumed that you want to block public access to the qr code if
you set the api key.
Maybe there can be an environment variable to bypass any authentication
specifically on the popup?
—
Reply to this email directly, view it on GitHub
<#3016 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABKPXPW2T5ZSX2RQMTWSEPTWSV3CNANCNFSM6AAAAAAT42IUMU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
if you mean documentation for EASY API CLI here is the Link |
something is missing here, how are you getting
Can you show me a screen recording (including terminal) of you experiencing this problem please + |
Also @scropion86 @fire17 you can constantly refresh that |
Thanks @scropion86 for the cli docs link, i've learned of a few more things that are possible @smashah could you please advise ? |
sorry for confusing you , the error |
@fire17 have you tried the python socket client? https://github.com/open-wa/wa-automate-socket-client-python @scropion86 ok so there should be no limitations on the popup URL. What is the remaining problem then? |
--ezqr URL is not sent to the webhook if --ev 'https://webhook.site/7dce32e9….. |
todo:
|
@github-actions run ⚡ Release! ⚡(async () => {
function exec(cmd) {
try {
execSync(cmd, {stdio: 'inherit'})
} catch (error) {
console.log(`Status Code: ${error.status} with '${error.message}'`);
}
}
//set the version type
process.env.VERS = "patch"
// Config
const gitUserEmail = "github-actions[bot]@users.noreply.github.com";
const gitUserName = "github-actions[bot]";
exec(`echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc`);
exec(`git config --global user.email "${gitUserEmail}"`);
exec(`git config --global user.name "${gitUserName}"`);
exec(`npm i -D`);
exec(`npm run release-ci $VERS`);
// types only package
exec('npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN')
exec(`npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN && npm run types:publish `);
exec(`git commit -a -m 'updated types-only package'`);
exec(`git push --force`);
//comment on the issue
var result = execSync(`npx auto-changelog -o ./tempchangelog.txt --commit-limit false --template ./compact-keepachangelog.hbs --stdout`).toString();
await postComment(result);
//create changelog image
exec(`npm run release-image`);
exec(`git commit -a -m 'updated release-image'`);
exec(`git push --force`);
})(); |
Yes @smashah this is exactly what I am using |
Are you using the latest version of the library?
What type of session are you experiencing this issue on?
Multi-device and I have set multiDevice to true in my config OR am using the --multi-device flag
What type of host account are you experiencing this issue on?
Personal account (normal)
Mode
EASY API/CLI
Current Behavior
When enabling
--ezqr --popup true --ev 'https://webhook.site/7dce32e9…..
the webhock received everything at launch except the QR URL such this message
“Scan the qr code at https://qr.openwa.cloud/1681d”
and since I enabled popup flag I was expecting to be able to see the QR from
“server:port/qr"
but because I am using API key o got “{"error":"unauthorised"}”Expected Behavior
“server:port/qr"
without API KeySteps To Reproduce
npx @open-wa/wa-automate -p 1234 --ezqr --popup true --ev 'https://webhook.site/7dce32e9-561d-4.........'
create() code OR full CLI command + CONFIG
DEBUG INFO
Environment
Screenshots/Logs
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: