Skip to content
This repository was archived by the owner on May 5, 2026. It is now read-only.
This repository was archived by the owner on May 5, 2026. It is now read-only.

@valapi/auth still active? #10

Description

@canparam

Description

I am using valapi/auth package but when I login I get an error data: {
type: 'auth',
auth: { auth_method: 'riot_identity' },
captcha: {
type: 'hcaptcha',
hcaptcha: {
key: '019f1553-3845-481c-a6f5-5a60ccf6d830',
data: 'UC/qFF5YLXD2xBZptoJENzTs7Nclm1fjmlgbSLO/kD0z4jyNisI1/QBPBJUzU+vugujvFh7Bbmbhp2vYHXNe5DJvWgBMwIsy9dtVkbLhZ+nfZT+rcC0tR20zbSS/'
}
},
suuid: 'da117c30-3d89-4f9c-a7c6-51e18c56062d',
cluster: 'an1',
country: 'vnm',
timestamp: '1727803847486',
platform: 'windows',
error: 'auth_failure'
}

Code

import{Auth}from"@valapi/auth";importaxiosfrom"axios";constauth=newAuth();constdata=awaitauth.captcha();console.log(data);capsolver(data.rqdata).then(asynctoken=>{console.log(token)if(token!=undefined){awaitauth.login({username: "dm",password: "dm@11",captcha: token});}});

Error

No response

Platform

No response

Node.js Version

No response

@valapi Version

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions