Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

Authenticate Guillotina with various providers

Project description

This guillotina app provides authentication through different providers:

  • [x] twitter
  • [x] google
  • [x] github
  • [x] ORY hydra based?
  • [ ] facebook (untested)

Example configuration:

auth_providers:
  twitter:
    configuration:
      consumer_key: foobar
      consumer_secret: foobar
  google:
    configuration:
      client_id: foobar
      client_secret: foobar
    scope: openid email
  github:
    configuration:
      client_id: foobar
      client_secret: foobar
    scope: read:user
  hydra:
    configuration:
      client_id: auth-code-client
      client_secret: secret
      base_url: http://localhost:4444/
      authorize_url: http://localhost:4444/oauth2/auth
      access_token_url: http://localhost:4444/oauth2/token
    state: true
    scope: openid offline

# frontend url to handle storing auth
auth_callback_url: http://localhost:8080/foobar
auth_user_identifiers
- guillotina_authentication.identifier.OAuthClientIdentifier

TODO

  • be able to specify custom scopes to authenicate with

1.0.6 (2019-03-04)

  • Option to refresh token. [bloodbare]

1.0.5 (2019-01-31)

  • Optimization and labeling the jwt to know that comes from oauth. [bloodbare]

1.0.4 (2019-01-10)

  • Temporal fix on urls. [bloodbare]

1.0.3 (2018-10-20)

  • Allow global scopes to be applied [vangheem]

1.0.2 (2018-10-13)

  • Be able to customize the requested scopes [vangheem]

1.0.1 (2018-10-11)

  • Be able to customize callback [vangheem]

1.0.0 (2018-10-09)

  • initial

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
guillotina_authentication-1.0.6.tar.gz (7.5 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page