Skip to content
This repository was archived by the owner on Nov 1, 2023. It is now read-only.

Commit ab844c8

Browse files
nharper285mgreisen
andauthored
Update src/ApiService/ApiService/UserCredentials.cs
Co-authored-by: Marc Greisen <[email protected]>
1 parent c867a1c commit ab844c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ApiService/ApiService/UserCredentials.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public virtual async Task<OneFuzzResult<UserAuthInfo>> ParseJwtToken(HttpRequest
9292
} else {
9393
var tenantsStr = allowedTenants.OkV is null ? "null" : String.Join(';', allowedTenants.OkV!);
9494
_log.Error($"issuer not from allowed tenant. issuer: {token.Issuer:Tag:Issuer} - tenants: {tenantsStr:Tag:Tenants}");
95-
return OneFuzzResult<UserAuthInfo>.Error(ErrorCode.INVALID_REQUEST, new[] { "unauthorized AAD issuer. if multi-tenant auth is failing, make sure to include all tenant_ids in the `allowed_aad_tenants` list in the instance_config. to see the current instance_config, run `onefuzz instance_config get`. " });
95+
return OneFuzzResult<UserAuthInfo>.Error(ErrorCode.INVALID_REQUEST, new[] { "unauthorized AAD issuer. If multi-tenant auth is failing, make sure to include all tenant_ids in the `allowed_aad_tenants` list in the instance_config. To see the current instance_config, run `onefuzz instance_config get`. " });
9696
}
9797
} else {
9898
_log.Error($"Failed to get allowed tenants due to {allowedTenants.ErrorV:Tag:Error}");

0 commit comments

Comments
 (0)