Skip to content
Discussion options

You must be logged in to vote
Admin verified this answer by diegosouzapw Jul 3, 2026

Hey @thezukiru! Username/password auto-login for Qwen is technically possible but significantly more complex than the current cookie approach.

Why cookies are preferred today: The cna + ssxmod_itna + token flow reuses an already-authenticated browser session -- no CAPTCHA, no OTP/2FA to bypass, and no login-rate throttling to handle. Cookies are exactly what Qwen's WAF expects from real browser clients.

What a user/pass flow would require: Simulating the full Aliyun auth sequence (including slider/image CAPTCHA and optional 2FA), persisting the resulting session cookies, and re-authenticating when they expire. This is what Qwen2API_Go does -- but it's fragile: any login-API change breaks …

Replies: 4 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@xspylol
Comment options

@diegosouzapw
Comment options

@diegosouzapw
Comment options

@thezukiru
Comment options

Comment options

You must be logged in to vote
0 replies
Answer verified by Admin Jul 3, 2026
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants