Replies: 1 comment
-
Did you find a solution? I've found same thing happening with Line as well. ![]() |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am implementing a login method for Enterprise WeChat, which provides two ways of OAuth login in Enterprise WeChat.
wecomProvider
You need to use auto-login in Enterprise Wechat app, it will automatically login.wecomPcProvider
If you are in the browser, you need to use Enterprise WeChat Mobile App to scan the QR code to login. It is also OAuth that provides the callback function.Looking at the code you will see that it differs only in
authorization
anduserinfo
.If the provider ids are the same
wecomProvider
will always be used, if notwecomPcProvider
will create a new user.I want to be able to get the
UserAgent
of the current request in therequest
ofauthorization
anduserinfo
so that I can differentiate the request and thus merge the two pieces of code.Beta Was this translation helpful? Give feedback.
All reactions