-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
custom the access token endpoint #15
Comments
I guess I need some time to understand the reason why we need to build a central place for accessToken because it makes things complicated. Could you explain why the current design can not fulfill your requirements? |
Problems: Solution:
So, after we weight it up, we will choose the second solution to help us resolve this problem. @huan how do you think about ? |
I have two questions about our problem:
|
How to set
then final request url will be: |
White IP Addres will only work in
access_token
interface.And if the puppet is deployed at dynamic local subnet, there will be dynamic address which makes it difficult when setting white IP address. Of course, there are many solutions to resolve it, but we always find the easiest way:
If
refreshAccessToken
service can be customized into a center place which store and lazy refresh theaccess_token
, it will be easy to scale wechaty official-account.As my consideration, we can build a docker which serves as an
accessToken
center, andrefreshAccessToken
address can be customized by environment variables.@huan How do you think about ?
The text was updated successfully, but these errors were encountered: