oauth2: support disabling redirects for AJAX requests (#32655)
Added new parameter `ajax_request_matcher` to optionally not allow OAuth2 authorization redirect when all tokens are expired. Such redirect usually redirects the user to a login page (in authorization code flow) and this behavior is not desired in Ajax requests. Signed-off-by: Samuel Valis <samuel.valis@innovatrics.com> Mirrored from https://github.com/envoyproxy/envoy @ 8318716d9aedfc6277cd605a41b606a86f3feb52main
parent
a8860de8a7
commit
156b273195
1 changed files with 6 additions and 1 deletions
Loading…
Reference in new issue