HADB/GetWeixinCode
解决微信OAuth2.0网页授权只能设置一个回调域名的问题 observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3845
- days_rel: n/a
- days_push: 2557
- n_releases_24m: 0
Adoption not part of the score
1449 stars · 461 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A single HTML page deployed under a WeChat OAuth2.0 authorized callback domain that forwards authorization codes to arbitrary redirect URIs. It works around WeChat's limit of one callback domain by adding an extra redirect hop.
Use cases
- use one WeChat OAuth callback domain for multiple sites
- get WeChat web authorization code on a different domain
- centralize WeChat OAuth redirect handling
- deploy WeChat login across several subdomains
- avoid registering every project domain with WeChat
When to choose
- you host multiple projects on different domains but can only register one WeChat callback domain
- you want a single place to handle WeChat OAuth redirects
- you need a lightweight, no-backend solution
When to avoid
- WeChat already allows multiple authorized callback domains for your account
- you rely on a third-party WeChat platform that performs authorization mid-flow on its own pages
- you cannot tolerate the extra redirect hop's impact on user experience
Facets
application · maturity maintenance
auth web-framework web-development apis security browser wechat oauth2 callback-domain redirect-proxy single-html-file web-server
1 source
- readme: https://github.com/HADB/GetWeixinCode · fetched 2026-08-28 · 0abcb9dbd0f8
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| HADB/GetWeixinCode | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="HADB/GetWeixinCode")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem