Skip to content

onna/guillotina_oauth

Repository files navigation

WARNING: this package requires a working plone.oauth server...

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

Generic global configuration on guillotina utilities section:

{

"applicatoins": ["guillotina_oauth"], "auth_token_validators": [

"guillotina.auth.validators.SaltedHashPasswordValidator", "guillotina_oauth.oauth.OAuthJWTValidator"

], "oauth_settings": {

"server": "http://localhost/", "jwt_secret": "secret", "jwt_algorithm": "HS256", "client_id": 11, "client_password": "secret"

}

}

Using pip (requires Python > 3.7)

./venv/bin/pip install -e ".[test]"
./venv/bin/pre-commit install