GithubHelp home page GithubHelp logo

Comments (3)

HADB avatar HADB commented on June 17, 2024

微信只能配置一个安全域名,所以必然得配置中间页所在的域名,也就是将中间页配置在安全域名下。
由该中间页获取到code之后跳转至同一个公众号下其他需要OAuth认证的域名。对于微信来说,他们看到的永远只是中间页在获取认证,跟其他页面没有关系,跳转都是中间页获取到code之后再进行跳转的。
目前已经经过广泛使用,可行性已经经过大量认证了,不必存疑。

from getweixincode.

itenl avatar itenl commented on June 17, 2024

THX,经尝试可行,建议可在if逻辑中加入OAuth下各子业务的来源(主域或referrer的鉴权),以保证appid在中间页不会被其它非法程序频繁调用。

from getweixincode.

HADB avatar HADB commented on June 17, 2024

这个功能可以根据需求自定义添加

from getweixincode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.