mirror of
https://github.com/tateisu/SubwayTooter
synced 2024-12-22 23:28:15 +01:00
Merge remote-tracking branch 'refs/remotes/origin/main'
This commit is contained in:
commit
d83dab789f
@ -793,7 +793,7 @@ class TootApiClient(
|
||||
val clientSecret = clientInfo.string("client_secret")
|
||||
?: return result.setError("missing client_secret")
|
||||
|
||||
"grant_type=client_credentials&scope=read+write&client_id=${clientId.encodePercent()}&client_secret=${clientSecret.encodePercent()}"
|
||||
"grant_type=client_credentials&scope=read+write&client_id=${clientId.encodePercent()}&client_secret=${clientSecret.encodePercent()}&redirect_uri=${REDIRECT_URL.encodePercent()}"
|
||||
.toFormRequestBody().toPost()
|
||||
.url("https://${apiHost?.ascii}/oauth/token")
|
||||
.build()
|
||||
|
Loading…
Reference in New Issue
Block a user