another bug fix
This commit is contained in:
parent
6a1ceb473f
commit
73967f7b1c
1 changed files with 1 additions and 1 deletions
|
@ -443,7 +443,7 @@ export async function CreatePKCECodeChallenge(CodeVerifier) {
|
|||
|
||||
// Component 3/4
|
||||
export async function PARrequest(PAREndpoint, State, Challenge) {
|
||||
return fetch(PAREndpoint, {method: "POST", body: new URLSearchParams({ response_type: "code", code_challenge_method: "S256", scope: "atproto transition:generic", client_id: "https://fedi.crowdedgames.group/oauth/client-metadata.json", redirect_uri: "https://fedi.crowdedgames.group/HTML/setting.html", code_challenge: Challenge, state: State, login_hint: "crowdedgames.group" }), headers: {"Content-Type": "application/x-www-form-urlencoded"}});
|
||||
return fetch(PAREndpoint, {method: "POST", body: new URLSearchParams({ response_type: "code", code_challenge_method: "S256", scope: "atproto transition:generic", client_id: "https://fedi.crowdedgames.group/oauth/client-metadata.json", redirect_uri: "https://fedi.crowdedgames.group/setting", code_challenge: Challenge, state: State, login_hint: "crowdedgames.group" }), headers: {"Content-Type": "application/x-www-form-urlencoded"}});
|
||||
}
|
||||
|
||||
async function AuthRequest(TokenEndpoint, code, DPoP, Verify) {
|
||||
|
|
Loading…
Add table
Reference in a new issue