Pyramid authentication

16 views
Skip to first unread message

Prem Lakshmanan

unread,
Dec 12, 2020, 6:16:15 PM12/12/20
to pylons-discuss
Hello,

I'm trying to integrate pyramid authentication in my web project but have issues/clarifications.

Here is my project - 


Basically, I want to remember a request and any future requests needs to be authenticated. Here is the workflow of my project - 

1. The user enters the login page(route_name='login') but gets redirected to another URL(for oauth) which I have simulated.
2. Once the user gets the information from the route_name='callback' he his redirected to the login URL. The request is remember in the callback route.
3. I expect any request that is called after the call to remember will invoke the registered callback in the AuthTktAuthenticationPolicy.


For some reason, I don't see the callback(AuthTktAuthenticationPolicy) is not invoked.

Why the registered callback is not being called?

Thanks in advance.


Thanks,
Prem
Reply all
Reply to author
Forward
0 new messages