Creates a new connection with validation, duplicate checking, and OAuth2 processing.
Args: current_user: Authenticated user profile session: Database session connection_data: Connection creation data
Returns: dict: Status message with connection ID or OAuth2 redirect URL
Raises: HTTPException: If connection already exists or validation fails
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Application ID for the connection.
Type of connection. Must match one of the supported authentication methods.
basic_auth, bearer_token, api_key_auth, oauth2_auth_code, oauth2_implicit, oauth2_password, oauth2_client_creds, key_value_creds Authentication credentials for the connection.
Whether the connection is shared. Defaults to true.