Skip to content

pyrenees/pserver.oauth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A call to plone.server using header :

AUTHORIZATION: bearer GOOGLE_TOKEN

authorizes the user to the one in google with that token

  • There is no persistence information about the user
  • The configuration is global for all application

Generic global configuration on plone.server utilities section:

{

"provides": "plone.server.googleoauth.oauth.IOAuth", "factory": "plone.server.googleoauth.oauth.OAuth", "settings": {

"oauth_json": "PATH_TO_JSON_CREDENTIALS_FROM_GOOGLE", "credentials": "CREDENTIALS_STORAGE", "client": "plone"

}

}

POST SITE_URL/@install

{
'pluggins': [
'plone.server.googleoauth'

]

}

POST SITE_URL/@uninstall

{
'pluggins': [
'plone.server.googleoauth'

]

}

plone.server.auth.events.NewUserLogin

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages