Skip to content

Commit 6716c3c

Browse files
committed
Minor adjustmensts in FindServerJwksUrl
1 parent 88804c3 commit 6716c3c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/AasSecurity/SecurityHelper.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,13 +102,14 @@ private static void ParseSecurityMetamodel()
102102
for (var i = 0; i < GlobalSecurityVariables.ServerKid.Count; i++)
103103
{
104104
if (GlobalSecurityVariables.ServerKid[i] != "" &&
105-
GlobalSecurityVariables.ServerKid[i] == kid)
105+
GlobalSecurityVariables.ServerKid[i] == kid)
106106
{
107107
domain = GlobalSecurityVariables.ServerDomain[i];
108108
return GlobalSecurityVariables.ServerJwksUrl[i];
109109
}
110110
else if (GlobalSecurityVariables.ServerIssuerUrl[i] == iss)
111111
{
112+
domain = GlobalSecurityVariables.ServerDomain[i];
112113
//ToDo request well-known endpoint to get JWKS properly
113114
return $"{GlobalSecurityVariables.ServerIssuerUrl[i]}/jwks";
114115
}

0 commit comments

Comments
 (0)