[TYPO3-core] RFC #9683: Store OpenID information in database instead of using the filesystem

Steffen Müller typo3 at t3node.com
Thu Nov 26 12:05:05 CET 2009


Hi.

Two things you should do before testing this patch:
1) go to install tool and update your database.
2) remove typo3temp/tx_openid


On 26.11.2009 10:37 Dmitry Dulepov wrote:
> Solution:
> Provide a database storage for the OpenID.
> 

As already mentioned in the bugtracker: Login does not work. After 
authenticating at my OpenID provider, I get redirected to 
http://www.example.com/typo3/sysext/openid/
I can't find any error or warning in devlog or syslog.

When I look into the table tx_openid_assoc_store I can find a session:

mysql> SELECT 
UNIX_TIMESTAMP(),uid,pid,crdate,tstamp,expires,server_url,assoc_handle,content 
FROM tx_openid_assoc_store \G
*************************** 1. row ***************************
UNIX_TIMESTAMP(): 1259233238
              uid: 1
              pid: 0
           crdate: 1259232345
           tstamp: 1259232345
          expires: 1260441825
       server_url: https://login.launchpad.net/+openid
     assoc_handle: {HMAC-SHA1}{4b0e5c57}{l9XclQ==}
          content: 
O:23:"Auth_OpenID_Association":8:{s:10:"SIG_LENGTH";i:20;s:10:"assoc_keys";a:6:{i:0;s:7:"version";i:1;s:6:"handle";i:2;s:6:"secret";i:3;s:6:"issued";i:4;s:8:"lifetime";i:5;s:10:"assoc_type";}s:5:"_macs";a:2:{s:9:"HMAC-SHA1";s:20:"Auth_OpenID_HMACSHA1";s:11:"HMAC-SHA256";s:22:"Auth_OpenID_HMACSHA256";}s:6:"handle";s:31:"{HMAC-SHA1}{4b0e5c57}{l9XclQ==}";s:6:"secret";s:20:"XXXXXXXXXXXXXXX";s:6:"issued";i:1259232345;s:8:"lifetime";i:1209600;s:10:"assoc_type";s:9:"HMAC-SHA1";}
1 row in set (0.00 sec)

Nonce table tx_openid_nonce_store is empty.

Can you give me advice how to debug further?

-- 
cheers,
Steffen

TYPO3 Blog: http://www.t3node.com/
Blubber on Twitter: http://twitter.com/t3node


More information about the TYPO3-team-core mailing list