Skip to content

Commit 2730c0e

Browse files
authored
Merge pull request #427 from serverlessworkflow/fix-oauth2-endpoint-validation
fix(Runner): Fixed the OAuth2TokenManager to not validate the OIDC discovery document endpoints
2 parents 288dd84 + 9cb3d39 commit 2730c0e

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)