mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-15 16:43:50 +08:00
fix: use new dingtalk api and support qrcode method (#486)
Signed-off-by: Steve0x2a <stevesough@gmail.com>
This commit is contained in:
@ -74,6 +74,10 @@ class AuthCallback extends React.Component {
|
||||
if (code === null) {
|
||||
code = params.get("auth_code");
|
||||
}
|
||||
// Dingtalk now returns "authCode=xxx" instead of "code=xxx"
|
||||
if (code === null) {
|
||||
code = params.get("authCode")
|
||||
}
|
||||
|
||||
const innerParams = this.getInnerParams();
|
||||
const applicationName = innerParams.get("application");
|
||||
|
Reference in New Issue
Block a user