Hello,
I try to use authorization code flow with Sync gateway. So I used the following config for in the sync gateway config file:
"oidc": {
"providers": {
"MyAuthFlow": {
"issuer":"url",
"client_id":"id",
"validation_key":"key",
"callback_url": "url"
"register":true
}
},
"default_provider": "MyAuthFlow"
},
When I call ’ /{db}/_oidc’ to initiate code flow I got this error: 'Missing parameter, ‘code_challenge’.
So how can we configure my sync gateway to add code challenge parameter?
thanks