Hi all,

I need some guidance in this subject.

I'm trying to add Firebase Authentication, but I don't know if it's 
possible to link it with Pyramid authentication and authorization policies.

After authentication using Firebase AuthUI I get a user object and a JWT. 
But then I don't know how to continue:

   - I don't know If I have to redirect to some view, with this token as a 
   parameter, use this token to get an user_id and then remember()
   - Or If I have to do something with the authentication policy, so it can 
   be done automatically.
   - Or maybe creating a custom authentication policy
   - Or If I have to use only Firebase, and don't use any auth policy from 
   Pyramid at all
   - Or put "Authorization: Bearer token_string" in the header all the time.
   - Save 'principals' in Firebase database for authorization

I use traversal and Google datastore, with many roles, role types, and 
object level security. So I need to use Pyramid authorization policy 
because it's very powerful.

Thanks

-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pylons-discuss/1bda584f-ee6b-434f-887c-3725f4b1e77f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to