I'm trying to implement authentication for my web application built using Pyramid.
Here is the code -
https://github.com/PREM1980/spa_authenticationI have a 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.