fix: some oauth2 need redirect_uri when get token (#643)

This commit is contained in:
Dream Hunter
2025-04-26 20:56:47 +08:00
committed by GitHub
parent 6051d49315
commit 327962432a
10 changed files with 162 additions and 161 deletions

View File

@@ -38,6 +38,7 @@ export default {
client_id: setting.clientID,
client_secret: setting.clientSecret,
grant_type: 'authorization_code',
redirect_uri: setting.redirectURL,
}
const res = await fetch(setting.accessTokenURL, {
method: 'POST',