fix code_challenge_methods_supported calls.

This commit is contained in:
Jason Kulatunga 2023-05-13 15:15:33 -04:00
parent 2f275dd0f7
commit df695c7e30
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ export class LighthouseService {
//use a placeholder client_secret (the actual secret is stored in Lighthouse) //use a placeholder client_secret (the actual secret is stored in Lighthouse)
client.client_secret = "placeholder" client.client_secret = "placeholder"
client.token_endpoint_auth_method = "client_secret_basic" client.token_endpoint_auth_method = "client_secret_basic"
if((sourceMetadata.code_challenge_methods_supported|| []).length > 0){ if((sourceMetadata.code_challenge_methods_supported || []).length > 0){
codeVerifier = expectedSourceStateInfo.code_verifier codeVerifier = expectedSourceStateInfo.code_verifier
} else { } else {
codeVerifier = "placeholder" codeVerifier = "placeholder"