Send feedback on this topic.
Teradata.Client.Provider
OidcRedirectPort Property



Teradata.Client.Provider Namespace > TdConnectionStringBuilder Class : OidcRedirectPort Property
Specifies the OIDC redirect port number or port number range for Browser Authentication (Authorization Code Flow with PKCE).
Syntax
'Declaration
 
Public Property OidcRedirectPort As String
'Usage
 
Dim instance As TdConnectionStringBuilder
Dim value As String
 
instance.OidcRedirectPort = value
 
value = instance.OidcRedirectPort
public string OidcRedirectPort {get; set;}
public:
property String^ OidcRedirectPort {
   String^ get();
   void set (    String^ value);
}
Remarks

This parameter is only intended for use with EXTERNALBROWSER authentication mechanism and is ignored for other mechanisms. Omitting this parameter is recommended.

A null, empty string, or "0" (zero) value directs the Data Provider to use an ephemeral port. IETF RFC 8252 - OAuth 2.0 for Native Apps section 7.3 dictates that an identity provider must allow any port number for the loopback IP redirect URL to let clients obtain an available ephemeral port from the operating system. Only specify this parameter if your identity provider deviates from IETF RFC 8252 and requires a specific port number.

OidcRedirectPort = "port" specifies a single port number for the OIDC redirect URL. The Data Provider will throw an exception if the port is unavailable.

OidcRedirectPort = "portStart-portEnd" specifies a range of port numbers (inclusive) separated by a hyphen. portEnd must be greater than or equal to portStart. The Data Provider will try to bind to each port in the range until it finds an available port. It will throw an exception if none of the ports are available.

Requirements
ProductVersionsPlatforms
.NET6, 7Windows, Linux, MacOS
.NET Framework4.6.2, 4.7, 4.7.1, 4.7.2, 4.8Windows
.NET Standard2.0Windows, Linux, MacOS
See Also

Reference

TdConnectionStringBuilder Class
TdConnectionStringBuilder Members