We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71080b8 commit b98b7b1Copy full SHA for b98b7b1
docs/.vuepress/components/aliyundrive/Callback.vue
@@ -7,8 +7,8 @@ const url = new URL(window.location.href)
7
const code = url.searchParams.get("code")
8
const error = url.searchParams.get("error")
9
const error_description = url.searchParams.get("error_description")
10
-const state = url.searchParams.get("state") || "::"
11
-const [client_id, client_secret] = state.split("::")
+const state = url.searchParams.get("state") || "Ojo="
+const [client_id, client_secret] = window.atob(state).split("::")
12
13
interface Token {
14
token_type: string
0 commit comments