Thanks, it worked.

On Sunday, December 13, 2020 at 5:43:56 PM UTC-5 [email protected] wrote:

> The groupfinder is only invoked on requests that check authentication 
> information. For example a view with a "permission=..." constraint or when 
> calling request.authenticated_userid, or request.has_permission(...). It is 
> not invoked for every request.
>
> - Michael
>
> On Dec 12, 2020, at 11:40, PremAnand Lakshmanan <[email protected]> wrote:
>
> I'm trying to implement authentication for my web application built using 
> Pyramid.
>
>
> Here is the code - 
>
> https://github.com/PREM1980/spa_authentication
>
> I 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.
>
>
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "pylons-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/pylons-discuss/CAMpk0qPuOeMTtM8PGRm%3DhAxPwemLv55gz3tWNpw7n6jRtiwCgg%40mail.gmail.com
>  
> <https://groups.google.com/d/msgid/pylons-discuss/CAMpk0qPuOeMTtM8PGRm%3DhAxPwemLv55gz3tWNpw7n6jRtiwCgg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pylons-discuss/4a13adb1-799c-49d7-914b-94396770ea60n%40googlegroups.com.

Reply via email to