Project

General

Profile

Actions

Bug #21040

closed

OpenID login does uses cURL even if was not defined in TYPO3_CONF_VARS

Added by Steffen Ritter over 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2009-09-12
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The 3rd party library used for the system extension openid offers some HTTP-Fetchers to execute requests to an OpenID provider. However, if curl_init() ist available on the webserver, it is used without considering the setting in $GLOBALS['TYPO3_CONF_VARS']['SYS']['curlUse'].

I realized that problem by using an OpenID starting with 'https://', having a cURL version without HTTPS support and the disabled curlUse setting - the result was, that I could not login to the backend anymore.

The OpenID library provides a constant 'Auth_Yadis_CURL_OVERRIDE' which disables the disposal of cURL.

only testet for BackendLogin by Oliver
(issue imported from #M11932)


Files

0011932.patch (968 Bytes) 0011932.patch Administrator Admin, 2009-10-07 18:46

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #24936: OpenID does not work with https on VeriSign OpenIDsClosed2011-02-02

Actions
Actions #1

Updated by Oliver Hader over 14 years ago

The reason is that the OpenId AuthService has a higher priority than the RSAAuthService. Thus, the OpenId service should use the username (not userident) directly or decode the userident if RSAAuth is used...

Actions #2

Updated by Oliver Hader over 14 years ago

Update... no problem with RSAAuth here...
The problem was using the HTTPS protocol on the OpenId. On my local system I did not have cURL installed with HTTPS support - thus the OpenId Discover action failed silently...

Actions #3

Updated by Oliver Hader over 14 years ago

Committed to SVN Trunk (rev. 6358)

Actions

Also available in: Atom PDF