fix code_challenge_methods_supported calls.
This commit is contained in:
parent
2f275dd0f7
commit
df695c7e30
|
@ -178,7 +178,7 @@ export class LighthouseService {
|
|||
//use a placeholder client_secret (the actual secret is stored in Lighthouse)
|
||||
client.client_secret = "placeholder"
|
||||
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
|
||||
} else {
|
||||
codeVerifier = "placeholder"
|
||||
|
|
Loading…
Reference in New Issue