Skip to content

Commit 9cb3d39

Browse files
committed
fix(Runner): Fixed the OAuth2TokenManager to not validate the OIDC discovery document endpoints
Signed-off-by: Charles d'Avernas <[email protected]>
1 parent 288dd84 commit 9cb3d39

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/runner/Synapse.Runner/Services/OAuth2TokenManager.cs

+1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ public virtual async Task<OAuth2Token> GetTokenAsync(OAuth2AuthenticationSchemeD
6767
Policy = new()
6868
{
6969
ValidateIssuerName = false,
70+
ValidateEndpoints = false,
7071
RequireHttps = false
7172
}
7273
};

0 commit comments

Comments
 (0)