Re: [pylons-devel] AuthTktAuthenticationPolicy's auth_tkt

2015-07-13 Thread Jonathan Vanasco
preface: I think you should be able to do what you want inside of Pyramid. In terms of modifying a JSON response by ADDING an attribute (like the auth_id), it's not that hard and you don't need to deserialize. You can capture the response in a tween and just replace the trailing '}' with ', "m

Re: [pylons-devel] AuthTktAuthenticationPolicy's auth_tkt

2015-07-11 Thread Mike Orr
On Fri, Jul 10, 2015 at 7:12 PM, Andrew Burnett wrote: > I apologize in advance if 1) This is not the proper place to be asking such > a question 2) My understand of authentication is so lackluster that my > question is irrelevant to begin with. Having said that, I will ask away: > > I was hoping

[pylons-devel] AuthTktAuthenticationPolicy's auth_tkt

2015-07-10 Thread Andrew Burnett
I apologize in advance if 1) This is not the proper place to be asking such a question 2) My understand of authentication is so lackluster that my question is irrelevant to begin with. Having said that, I will ask away: I was hoping to use one of Pyramid's built in authentication policies (Auth