打印oauth2链接
This commit is contained in:
@@ -69,6 +69,7 @@ export const config = {
|
|||||||
.replace(/REDIRECT_URI/g, REDIRECT_URI)
|
.replace(/REDIRECT_URI/g, REDIRECT_URI)
|
||||||
.replace(/SCOPE/g, scope)
|
.replace(/SCOPE/g, scope)
|
||||||
.replace(/AGENTID/g, agentId)
|
.replace(/AGENTID/g, agentId)
|
||||||
|
console.log(oauthURL)
|
||||||
location.replace(oauthURL)
|
location.replace(oauthURL)
|
||||||
} else if (!tryAgentSign) {
|
} else if (!tryAgentSign) {
|
||||||
dispatch("agentSign", {corpId, suiteId}).then(() => dispatch("getCode", true)).then(() => resolve())
|
dispatch("agentSign", {corpId, suiteId}).then(() => dispatch("getCode", true)).then(() => resolve())
|
||||||
|
|||||||
Reference in New Issue
Block a user