File tree 2 files changed +5
-6
lines changed
2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -90,14 +90,14 @@ protected void Login()
90
90
}
91
91
92
92
/// <summary>
93
- /// Specialized authenticator data to add to the login request.
93
+ /// Specialized authenticator data to add to the login request.
94
94
/// </summary>
95
95
/// <param name="data">The login request data to update.</param>
96
96
protected abstract void SetSpecializedAuthenticatorData ( ref LoginRequestData data ) ;
97
97
98
98
/// <summary>
99
99
/// Builds a simple login request. Each authenticator will fill the Data part with their
100
- /// specialized information. The common Data attributes are already filled (clientAppId,
100
+ /// specialized information. The common Data attributes are already filled (clientAppId,
101
101
/// ClienAppVersion...).
102
102
/// </summary>
103
103
/// <returns>A login request to send to the server.</returns>
@@ -181,9 +181,8 @@ internal static IAuthenticator GetAuthenticator(SFSession session)
181
181
182
182
return new OAuthAuthenticator ( session ) ;
183
183
}
184
- // Okta would provide a url of form: https://xxxxxx.okta.com or https://xxxxxx.oktapreview.com
185
- else if ( ( type . EndsWith ( "okta.com" ) || type . EndsWith ( "oktapreview.com" ) )
186
- && type . StartsWith ( "https://" ) )
184
+ // Okta would provide a url of form: https://xxxxxx.okta.com or https://xxxxxx.oktapreview.com or https://vanity.url/snowflake/okta
185
+ else if ( type . Contains ( "okta" ) && type . StartsWith ( "https://" ) )
187
186
{
188
187
return new OktaAuthenticator ( session , type ) ;
189
188
}
Original file line number Diff line number Diff line change 12
12
<Product >Snowflake Connector for .NET</Product >
13
13
<Authors >howryu, tchen</Authors >
14
14
<Copyright >Copyright (c) 2012-2019 Snowflake Computing Inc. All rights reserved.</Copyright >
15
- <Version >1.2.7 </Version >
15
+ <Version >1.2.8 </Version >
16
16
<DebugType >Full</DebugType >
17
17
</PropertyGroup >
18
18
You can’t perform that action at this time.
0 commit comments