hm
This commit is contained in:
parent
73967f7b1c
commit
96a0414638
1 changed files with 1 additions and 1 deletions
|
@ -447,7 +447,7 @@ export async function PARrequest(PAREndpoint, State, Challenge) {
|
||||||
}
|
}
|
||||||
|
|
||||||
async function AuthRequest(TokenEndpoint, code, DPoP, Verify) {
|
async function AuthRequest(TokenEndpoint, code, DPoP, Verify) {
|
||||||
return fetch(TokenEndpoint, {method: "POST", body: new URLSearchParams({ grant_type: "authorization_code", code: code, client_id: "https://fedi.crowdedgames.group/oauth/client-metadata.json", redirect_uri: "https://fedi.crowdedgames.group/HTML/setting.html", code_verifier: Verify}), headers: { "DPoP": DPoP, "Content-Type": "application/x-www-form-urlencoded"}})
|
return fetch(TokenEndpoint, {method: "POST", body: new URLSearchParams({ grant_type: "authorization_code", code: code, client_id: "https://fedi.crowdedgames.group/oauth/client-metadata.json", redirect_uri: "https://fedi.crowdedgames.group/setting", code_verifier: Verify}), headers: { "DPoP": DPoP, "Content-Type": "application/x-www-form-urlencoded"}})
|
||||||
.then((response) => response.json());
|
.then((response) => response.json());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue