checking user is authed outside php

Discussion forum for MOD Writers regarding MOD Development.
Registered User
Posts: 1
Joined: Sun Aug 23, 2015 1:19 pm

checking user is authed outside php

Post by iiiyx » Sun Aug 23, 2015 1:31 pm

spent all day searching, but nothing good found.
How can I check if user is already authed using his cookies and DB? I need it in my nodejs app before making some actions from user.
I found this tutorial, but it seems to be helpless because there is no auth_key in cookies, just sid and user id:
phpbb3_xxxxx_sid d8d3369af28233559cbd906f1d7a33ad
phpbb3_xxxxx_u 48

Strange I couldn't google the solution for this trivial problem...
Any help? Thanks.

User avatar
Registered User
Posts: 5599
Joined: Tue Jun 15, 2010 11:33 am
Location: グリーン ヒル ゾーン

Re: checking user is authed outside php

Post by AmigoJack » Mon Aug 24, 2015 7:51 am

iiiyx wrote:user is already authed
iiiyx wrote:no auth_key in cookies
This is contradicting: do you want to authenticate a user or do you want his session? phpBB does not authenticate a user with every request, and a session does not carry authentication credentials.
The worst thing about censorship is ███████████
Affin wrote:
Tue Nov 20, 2018 9:51 am
The problem is probably not my English but you do not want to understand correctly.
We will not come anybody anyway, nevertheless, it's best to shit this.


Return to “[3.0.x] MOD Writers Discussion”