python - GAE - Share user authentication across apps -


let's run 2 different apps on different domains, coded in python flask , running gae instances; 1 site.co.uk , 1 site.us.

if use gae authentication on 1 site possible have them authenticated other site too? don't want make them have authenticate each country specific domain.

you can't reuse users service authentication across different applications. possible solution using oauth2 (or similar mechanism) - create application (or use 1 of existing applications) authentication provider. each application redirect authentication provider user authenticated, , redirected back. if user authenticated, not need authenticate again when switching applications. way won't able use users service on end applications, in provider, need rely on way store logged in user in each application (like datastore+memcache).


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -