pyramid authen

12 views
Skip to first unread message

prem anand lakshmanan

unread,
Dec 12, 2020, 6:16:15 PM12/12/20
to pylons-discuss
I'm trying to implement authentication for my web application built using Pyramid.


Here is the code - 


I have an issue when the registered callback using AuthTktAuthenticationPolicy is not being called.


Here is the workflow of the application.
1. The user goes to the login URL.
2. He his redirected to a oauth callback(simulated here) and the remember function is called to save the request.
3. Expect any future calls will call the registerd callback for authorisation(implemented for resource_1 as a test)

Problem:-

The registered callback is not being called.


Thanks in advance.
Reply all
Reply to author
Forward
0 new messages