chore: add topic candidates for 2026-04-25
This commit is contained in:
5
assets/test-qr-1.png
Normal file
5
assets/test-qr-1.png
Normal file
@@ -0,0 +1,5 @@
|
||||
const https = require('https');
|
||||
const fs = require('fs');
|
||||
|
||||
// WeChat QR code URL: use WeChat's protocol handler to trigger the QR code. Or generate a QR for github.com/login/device/code (GitHub device flow requires a separate request to get the URL. Actually let me try a different approach — the QR code for GitHub device login flow. I'll use GitHub provides device code (needs separate POST, not just QR code for GitHub device flow. The QR data-encoding URL isn't a static URL. Let me try WeChat QR code - wechat protocol URL. Let me try the QR for the WeChat device flow URL.
|
||||
const data = encodeURIComponent('weixin://connect/qrconnect?appid=test&redirect_uri=https://github.com&scope=snsapi_login&response_type=code&state=github
|
||||
Reference in New Issue
Block a user