Closed (fixed)
Project:
Token authentication
Version:
6.x-1.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
19 Jun 2010 at 00:54 UTC
Updated:
2 Sep 2010 at 21:10 UTC
I want to have token based RSS&ICAL feeds to a private website (Open Atrium, access to contents only after login). I added the tokenauth module, created the views, and it works fine (tokenauth authenticates with the user needed), but if I turn on access permissions (view available to authenticated user only), it returns with an access denied page (it authenticates, as shown from the member login box, etc. but still cannot access the view.) What might be the problem?
Comments
Comment #1
Grayside commentedI just looked at this, and I'm seeing a problem with OA Beta 6 and Tokenauth as well. I know it worked smoothly with Beta 3.
I'll be looking into this.
Comment #2
Grayside commentedCannot Reproduce.
My problem earlier I tracked to having put a bad path in the allowed urls in admin/settings/tokenauth.
Have you tried clearing the cache? Are you sure you are using the correct token? Etc.
Comment #3
tdombos commentedI tried clearing the cache, no luck.
The token is correct (otherwise it would not log me in, right?)
I put this in the active token pages:
And tried to access: http://intranet.hatter.hu/rss.xml?token=m4NHumYtrc (you can see it logged me in, but gives an access denied message)
Comment #4
Grayside commentedThat's... strange. Have you tried dropping the module weight and clearing the cache? Tokenauth authenticates the user in hook_init(), so I suppose if something started setting access denied before tokenauth was reached, something like that might happen.
If that doesn't work, it becomes a more complex problem of trying to identify why that page is getting access denied, and determining if Tokenauth is missing something (like a special session variable or the like.)
Comment #5
Grayside commentedThis is now solved in -dev. The problem: While tokenauth was successfully working, Spaces was denying access to the content before tokenauth was operating.
Tokenauth weight is now set to -1000 to avoid this kind of thing.
Comment #6
Grayside commentedTitle change for future reference.