File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ namespace Bit.Api.Controllers;
66
77/// <summary>
88/// Provides an endpoint to read an SSO cookie and redirect to a custom URI
9- /// scheme. The load balancer must be configured such that requests to this
10- /// endpoint do not have the auth cookie stripped.
9+ /// scheme. The load balancer/reverse proxy must be configured such that
10+ /// requests to this endpoint do not have the auth cookie stripped.
1111/// </summary>
1212[ Route ( "sso-cookie-vendor" ) ]
1313public class SsoCookieVendorController ( IGlobalSettings globalSettings ) : Controller
@@ -29,7 +29,7 @@ public class SsoCookieVendorController(IGlobalSettings globalSettings) : Control
2929 public IActionResult Get ( )
3030 {
3131 var bootstrap = _globalSettings . Communication ? . Bootstrap ;
32- if ( string . IsNullOrEmpty ( bootstrap ) || bootstrap != "ssoCookieVendor" )
32+ if ( string . IsNullOrEmpty ( bootstrap ) || ! bootstrap . Equals ( "ssoCookieVendor" , StringComparison . OrdinalIgnoreCase ) )
3333 {
3434 return NotFound ( ) ;
3535 }
You can’t perform that action at this time.
0 commit comments