i'm generating long-term tokens serverside (using referrer as client) & storing them. seems to work ok using http REST calls outside of flex (in coldfusion). however i'm getting invalid token errors when i try the same token inside our flex app (actually not getting anything for the dynamic layers, no display no errors but if if force a query task, then i can see the bad token errors).
we can't use the identity manager as access to the app, map services, etc is already controlled via a complex authentication system.
do we need to generate the tokens from within flex for this work (seen a few posts alluding to this)?
thanks.
ps: the API docs have an example that uses the token on both the layer URL & as a parameter. pretty sure that's a typo.