Skip to main content

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

Endpoints

TODO

  • be able to specify custom scopes to authenicate with

5.0.1 (2019-07-07)

  • Adding VERSION to manifest [bloodbare]

5.0.0 (2019-07-07)

  • Update for G5 [bloodbare]

1.0.7 (2019-06-18)

  • restrict compat

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.

Source Distribution

guillotina_authentication-5.0.1.tar.gz (7.5 kB view details)

Uploaded Source

File details

Details for the file guillotina_authentication-5.0.1.tar.gz.

File metadata

  • Download URL: guillotina_authentication-5.0.1.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for guillotina_authentication-5.0.1.tar.gz
Algorithm Hash digest
SHA256 104987f2b1b968bbb5b9a433f3a9e60e8f289b12c69faa15c7d974d910c85987
MD5 0468bc7ed572bcb8fd65a6146bb39ff9
BLAKE2b-256 7e2e543ae5e7abf626e60bcb6bffd558b0510c99e33cbd912ae385c04302f708

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page