3 users online. Create an account or sign in to join them.Users
Unexpected 'admin' page type behaviour
This is an open discussion with 5 replies, filed under General.
Search
How are you sending the token? ?auth-token? I'm not sure if this ever worked for frontend pages.
The Login Event from the default workspace supports the login via the auth-token.
Nick, I've been sending it as ?token which is on problem by the sounds of it.
Jonas, I'll take a look, although I don't want them to stay logged in, just use the token as an authentication.
Nick, is this the sort of thing the Rest API was developed for? Can it output JSON, or XSL styled XML/HTML?
Nick, is this the sort of thing the Rest API was developed for? Can it output JSON, or XSL styled XML/HTML?
Kind of. Not developed for public websites, so don't install it on a public-facing Symphony build as it opens you up to write operations on all sections. It can output JSON, XML or YAML... so you could potentially attach a REST API request as a Dynamic XML data source to a page, and transform the XML. But sounds like overkill to me.
I'm jut going to switch off the 'admin' page type. More trouble than it's worth.
Create an account or sign in to comment.
I have an Ajax page that has a page type of
admin. I am correctly (as far as I know) sending the author's token to the page, and I'm checking for that token in the XSLT using a simplexsl:ifcheck.Basically, the Ajax call isn't working unless I'm logged in myself.
Does anyone know how to use an
adminpage type, passing the parameter in the URL?