Select to view content in your preferred language

security tokens

594
1
02-22-2013 06:34 AM
PaulHastings1
Deactivated User
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.
Tags (2)
0 Kudos
1 Reply
PaulHastings1
Deactivated User
looks like the referrer as client won't work from flex. no matter how i generate the token outside of flex or what i use as referrer, client referrer fails. IP (either flavor) seems to work ok.

if that's really the case, perhaps that should be documented some place?
0 Kudos