add_filter( 'sgo_exclude_urls_from_cache', function ( $excluded_urls ) { $excluded_urls[] = '/.well-known/oauth-*'; $excluded_urls[] = '/.well-known/oauth-protected-resource*'; $excluded_urls[] = '/.well-known/oauth-authorization-server*'; return $excluded_urls; } );