Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jazzband/django-oauth-toolkit
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.3.0
Choose a base ref
...
head repository: jazzband/django-oauth-toolkit
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on Jun 8, 2023

  1. Cache loading of JWK object from OIDC private key (#1273)

    * Cache loading of JWK object from OIDC private key
    
    * update AUTHORS
    
    * update changelog
    
    * test jwk_from_pem caches jwk object
    cakemanny authored Jun 8, 2023
    Copy the full SHA
    2f3dd45 View commit details

Commits on Jun 12, 2023

  1. tests: Fix test name (#1283)

    tonial authored Jun 12, 2023
    Copy the full SHA
    9000f45 View commit details
  2. Copy the full SHA
    f28ca84 View commit details

Commits on Jun 13, 2023

  1. Add post_logout_redirect_uris field to application views (#1285)

    * Add post_logout_redirect_uris field to application views
    
    * Update docs
    tonial authored Jun 13, 2023
    Copy the full SHA
    f730b64 View commit details

Commits on Jul 17, 2023

  1. [pre-commit.ci] pre-commit autoupdate (#1299)

    updates:
    - [github.com/psf/black: 23.3.0 → 23.7.0](psf/black@23.3.0...23.7.0)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Jul 17, 2023
    Copy the full SHA
    c66af1c View commit details

Commits on Aug 1, 2023

  1. Copy the full SHA
    a7f6468 View commit details

Commits on Aug 17, 2023

  1. Copy the full SHA
    2cf7f4f View commit details

Commits on Aug 22, 2023

  1. [pre-commit.ci] pre-commit autoupdate (#1308)

    updates:
    - [github.com/sphinx-contrib/sphinx-lint: v0.6.7 → v0.6.8](sphinx-contrib/sphinx-lint@v0.6.7...v0.6.8)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Aug 22, 2023
    Copy the full SHA
    01dd372 View commit details

Commits on Aug 30, 2023

  1. Copy the full SHA
    a4ae1d4 View commit details

Commits on Sep 11, 2023

  1. Copy the full SHA
    b8763da View commit details

Commits on Sep 12, 2023

  1. Copy the full SHA
    adcb276 View commit details
  2. Copy the full SHA
    f8c9f36 View commit details

Commits on Sep 13, 2023

  1. Allow the use of unhashed secrets (#1311)

    * enable configuration of Applications to keep the client_secret unhashed to enable properly signed JWTs
    
    ---------
    
    Co-authored-by: Alan Crosswell <alan@crosswell.us>
    Co-authored-by: Alan Crosswell <alan@columbia.edu>
    3 people authored Sep 13, 2023
    Copy the full SHA
    0965100 View commit details

Commits on Sep 15, 2023

  1. Copy the full SHA
    e4b06eb View commit details
  2. Copy the full SHA
    85bd366 View commit details
  3. Updated Insert user example with scope. (#1316)

    The Insert user example is the same as the last example saying it will present a permission error. People reading this will get an error trying what is shown as a positive result example.
    Bellaby authored Sep 15, 2023
    Copy the full SHA
    fe7b086 View commit details

Commits on Sep 18, 2023

  1. Improve coverage (#1317)

    tonial authored Sep 18, 2023
    Copy the full SHA
    6bca431 View commit details

Commits on Sep 22, 2023

  1. Copy the full SHA
    1eca949 View commit details

Commits on Sep 26, 2023

  1. Copy the full SHA
    9aa27c7 View commit details

Commits on Oct 5, 2023

  1. Copy the full SHA
    41591ad View commit details

Commits on Oct 7, 2023

  1. Copy the full SHA
    1c01da7 View commit details

Commits on Oct 9, 2023

  1. [pre-commit.ci] pre-commit autoupdate (#1335)

    updates:
    - [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v4.5.0](pre-commit/pre-commit-hooks@v4.4.0...v4.5.0)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Oct 9, 2023
    Copy the full SHA
    b39ec01 View commit details

Commits on Oct 10, 2023

  1. fix: AUTHORS alpha sort

    - L with stroke should be treated as L
    - pySilver out of place, do we need a real name here for posterity?
    dopry committed Oct 10, 2023
    Copy the full SHA
    1c4a997 View commit details

Commits on Oct 17, 2023

  1. Fix CORS by passing 'Origin' header to OAuthLib

    It is possible to control CORS by overriding is_origin_allowed method
    of RequestValidator class.
    OAuthLib allows origin if:
    - is_origin_allowed returns True for particular request
    - Request connection is secure
    - Request has 'Origin' header
    akanstantsinau authored and dopry committed Oct 17, 2023
    Copy the full SHA
    e1b89a5 View commit details
  2. Copy the full SHA
    70074b7 View commit details
  3. Copy the full SHA
    4d38e4e View commit details
  4. [pre-commit.ci] auto fixes from pre-commit.com hooks

    for more information, see https://pre-commit.ci
    pre-commit-ci[bot] authored and dopry committed Oct 17, 2023
    Copy the full SHA
    d312e48 View commit details
  5. Updated documentation

    akanstantsinau authored and dopry committed Oct 17, 2023
    Copy the full SHA
    ce35a05 View commit details
  6. Code and docs cleanup

    akanstantsinau authored and dopry committed Oct 17, 2023
    Copy the full SHA
    7282fde View commit details
  7. Code cleanup

    akanstantsinau authored and dopry committed Oct 17, 2023
    Copy the full SHA
    09d853a View commit details
  8. Copy the full SHA
    8dc3ff1 View commit details
  9. Copy the full SHA
    f528338 View commit details
  10. Added more tests

    akanstantsinau authored and dopry committed Oct 17, 2023
    Copy the full SHA
    aa33708 View commit details
  11. Copy the full SHA
    641ab0b View commit details
  12. feat: idp/rp test apps

    Implement a minimal testing IDP and RP for maintainers.
    
    There is a single Application configured in the IDP for
    the RP sample application it used the OIDC Authorization
    + PKCE flow.
    
    This is a meant to be a starting point for building out
    further test scenarios.
    dopry committed Oct 17, 2023
    Copy the full SHA
    f9fcaff View commit details
  13. Bump postcss from 8.4.23 to 8.4.31 in /tests/app/rp (#1340)

    Bumps [postcss](https://github.com/postcss/postcss) from 8.4.23 to 8.4.31.
    - [Release notes](https://github.com/postcss/postcss/releases)
    - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
    - [Commits](postcss/postcss@8.4.23...8.4.31)
    
    ---
    updated-dependencies:
    - dependency-name: postcss
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Oct 17, 2023
    Copy the full SHA
    0986719 View commit details
  14. Bump vite from 4.3.4 to 4.3.9 in /tests/app/rp (#1341)

    Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.3.4 to 4.3.9.
    - [Release notes](https://github.com/vitejs/vite/releases)
    - [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
    - [Commits](https://github.com/vitejs/vite/commits/v4.3.9/packages/vite)
    
    ---
    updated-dependencies:
    - dependency-name: vite
      dependency-type: direct:development
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Oct 17, 2023
    Copy the full SHA
    efdf897 View commit details

Commits on Oct 19, 2023

  1. Fix CORS by passing 'Origin' header to OAuthLib

    It is possible to control CORS by overriding is_origin_allowed method
    of RequestValidator class.
    OAuthLib allows origin if:
    - is_origin_allowed returns True for particular request
    - Request connection is secure
    - Request has 'Origin' header
    akanstantsinau authored and dopry committed Oct 19, 2023
    Copy the full SHA
    db6942f View commit details
  2. Copy the full SHA
    16cb613 View commit details
  3. Copy the full SHA
    ff2dfa9 View commit details
  4. [pre-commit.ci] auto fixes from pre-commit.com hooks

    for more information, see https://pre-commit.ci
    pre-commit-ci[bot] authored and dopry committed Oct 19, 2023
    Copy the full SHA
    0550d93 View commit details
  5. Code and docs cleanup

    akanstantsinau authored and dopry committed Oct 19, 2023
    Copy the full SHA
    b6de483 View commit details
  6. Code cleanup

    akanstantsinau authored and dopry committed Oct 19, 2023
    Copy the full SHA
    d6c5c58 View commit details
  7. Copy the full SHA
    0fc16f7 View commit details
  8. Copy the full SHA
    94213ea View commit details
  9. Code cleanup

    akanstantsinau authored and dopry committed Oct 19, 2023
    Copy the full SHA
    45ea962 View commit details
  10. Add more tests for origin validators

    akanstantsinau authored and dopry committed Oct 19, 2023
    Copy the full SHA
    ec61ec2 View commit details
  11. fix coverage

    akanstantsinau authored and dopry committed Oct 19, 2023
    Copy the full SHA
    0cf46cd View commit details
  12. [pre-commit.ci] auto fixes from pre-commit.com hooks

    for more information, see https://pre-commit.ci
    pre-commit-ci[bot] authored and dopry committed Oct 19, 2023
    Copy the full SHA
    2c83e6c View commit details

Commits on Oct 20, 2023

  1. Copy the full SHA
    584627d View commit details
Showing with 6,875 additions and 1,078 deletions.
  1. +73 −0 .dockerignore
  2. +2 −0 .env
  3. +5 −7 .github/workflows/release.yml
  4. +51 −28 .github/workflows/test.yml
  5. +6 −0 .gitignore
  6. +15 −16 .pre-commit-config.yaml
  7. +8 −0 .vscode/settings.json
  8. +29 −0 AUTHORS
  9. +99 −6 CHANGELOG.md
  10. +67 −0 Dockerfile
  11. +17 −11 README.rst
  12. +40 −0 docker-compose.yml
  13. BIN docs/_images/application-register-auth-code.png
  14. BIN docs/_images/application-register-client-credential.png
  15. +66 −10 docs/advanced_topics.rst
  16. +75 −36 docs/contributing.rst
  17. +19 −12 docs/getting_started.rst
  18. +4 −4 docs/index.rst
  19. +7 −19 docs/install.rst
  20. +1 −1 docs/management_commands.rst
  21. +23 −9 docs/oidc.rst
  22. +3 −1 docs/requirements.txt
  23. +1 −1 docs/resource_server.rst
  24. +28 −39 docs/rest-framework/getting_started.rst
  25. +2 −1 docs/rfc.py
  26. +90 −24 docs/settings.rst
  27. +2 −2 docs/signals.rst
  28. +2 −0 docs/templates.rst
  29. +18 −5 docs/tutorial/tutorial_01.rst
  30. +5 −5 docs/tutorial/tutorial_02.rst
  31. +14 −12 docs/tutorial/tutorial_03.rst
  32. +5 −5 docs/tutorial/tutorial_04.rst
  33. +9 −10 docs/tutorial/tutorial_05.rst
  34. +3 −3 docs/views/application.rst
  35. +1 −1 docs/views/class_based.rst
  36. +3 −3 docs/views/function_based.rst
  37. +2 −2 docs/views/token.rst
  38. +1 −7 oauth2_provider/__init__.py
  39. +1 −1 oauth2_provider/admin.py
  40. +4 −0 oauth2_provider/apps.py
  41. +28 −0 oauth2_provider/checks.py
  42. +11 −0 oauth2_provider/compat.py
  43. +12 −3 oauth2_provider/contrib/rest_framework/authentication.py
  44. +1 −1 oauth2_provider/contrib/rest_framework/permissions.py
  45. +1 −1 oauth2_provider/generators.py
  46. +8 −1 oauth2_provider/management/commands/createapplication.py
  47. +27 −0 oauth2_provider/middleware.py
  48. +15 −2 oauth2_provider/migrations/0006_alter_application_client_secret.py
  49. +1 −1 oauth2_provider/migrations/0007_application_post_logout_redirect_uris.py
  50. +17 −0 oauth2_provider/migrations/0008_alter_accesstoken_token.py
  51. +18 −0 oauth2_provider/migrations/0009_add_hash_client_secret.py
  52. +22 −0 oauth2_provider/migrations/0010_application_allowed_origins.py
  53. +19 −0 oauth2_provider/migrations/0011_refreshtoken_token_family.py
  54. +40 −0 oauth2_provider/migrations/0012_add_token_checksum.py
  55. +122 −32 oauth2_provider/models.py
  56. +5 −0 oauth2_provider/oauth2_backends.py
  57. +117 −42 oauth2_provider/oauth2_validators.py
  58. +8 −2 oauth2_provider/settings.py
  59. +17 −2 oauth2_provider/templates/oauth2_provider/application_detail.html
  60. +2 −2 oauth2_provider/templates/oauth2_provider/application_form.html
  61. +1 −1 oauth2_provider/templates/oauth2_provider/application_list.html
  62. +21 −17 oauth2_provider/urls.py
  63. +34 −0 oauth2_provider/utils.py
  64. +105 −16 oauth2_provider/validators.py
  65. +6 −0 oauth2_provider/views/application.py
  66. +42 −4 oauth2_provider/views/base.py
  67. +2 −5 oauth2_provider/views/generic.py
  68. +10 −4 oauth2_provider/views/introspect.py
  69. +0 −1 oauth2_provider/views/mixins.py
  70. +150 −81 oauth2_provider/views/oidc.py
  71. +1 −1 oauth2_provider/views/token.py
  72. +93 −9 pyproject.toml
  73. +0 −46 setup.cfg
  74. +0 −6 setup.py
  75. +49 −0 tests/app/README.md
  76. +3 −0 tests/app/idp/README.md
  77. +38 −0 tests/app/idp/fixtures/seed.json
  78. 0 tests/app/idp/idp/__init__.py
  79. +19 −0 tests/app/idp/idp/apps.py
  80. +17 −0 tests/app/idp/idp/asgi.py
  81. +40 −0 tests/app/idp/idp/oauth.py
  82. +240 −0 tests/app/idp/idp/settings.py
  83. +26 −0 tests/app/idp/idp/urls.py
  84. +17 −0 tests/app/idp/idp/wsgi.py
  85. +22 −0 tests/app/idp/manage.py
  86. +5 −0 tests/app/idp/requirements.txt
  87. +7 −0 tests/app/idp/templates/registration/login.html
  88. +10 −0 tests/app/rp/.gitignore
  89. +2 −0 tests/app/rp/.npmrc
  90. +13 −0 tests/app/rp/.prettierignore
  91. +9 −0 tests/app/rp/.prettierrc
  92. +16 −0 tests/app/rp/Dockerfile
  93. +40 −0 tests/app/rp/README.md
  94. +2,395 −0 tests/app/rp/package-lock.json
  95. +30 −0 tests/app/rp/package.json
  96. +12 −0 tests/app/rp/src/app.d.ts
  97. +12 −0 tests/app/rp/src/app.html
  98. +43 −0 tests/app/rp/src/routes/+page.svelte
  99. BIN tests/app/rp/static/favicon.png
  100. +16 −0 tests/app/rp/svelte.config.js
  101. +17 −0 tests/app/rp/tsconfig.jsonc
  102. +6 −0 tests/app/rp/vite.config.ts
  103. +33 −0 tests/common_testing.py
  104. +23 −0 tests/conftest.py
  105. +10 −0 tests/custom_hasher.py
  106. +76 −0 tests/db_router.py
  107. +1 −1 tests/mig_settings.py
  108. +8 −4 tests/migrations/0002_swapped_models.py
  109. +31 −0 tests/migrations/0004_basetestapplication_hash_client_secret_and_more.py
  110. +26 −0 tests/migrations/0005_basetestapplication_allowed_origins_and_more.py
  111. +20 −0 tests/migrations/0006_basetestapplication_token_family.py
  112. +34 −0 tests/migrations/0007_add_localidtoken.py
  113. +7 −0 tests/models.py
  114. +19 −0 tests/multi_db_settings.py
  115. +8 −0 tests/multi_db_settings_invalid_token_configuration.py
  116. +8 −0 tests/presets.py
  117. +2 −0 tests/settings.py
  118. +204 −22 tests/test_application_views.py
  119. +69 −19 tests/test_auth_backends.py
  120. +221 −24 tests/test_authorization_code.py
  121. +14 −16 tests/test_client_credential.py
  122. +10 −4 tests/test_commands.py
  123. +12 −12 tests/test_decorators.py
  124. +20 −0 tests/test_django_checks.py
  125. +2 −1 tests/test_generator.py
  126. +20 −19 tests/test_hybrid.py
  127. +17 −18 tests/test_implicit.py
  128. +99 −33 tests/test_introspection_auth.py
  129. +23 −25 tests/test_introspection_view.py
  130. +2 −1 tests/test_mixins.py
  131. +225 −37 tests/test_models.py
  132. +20 −22 tests/test_oauth2_backends.py
  133. +93 −26 tests/test_oauth2_validators.py
  134. +154 −77 tests/test_oidc_views.py
  135. +10 −12 tests/test_password.py
  136. +17 −9 tests/test_rest_framework.py
  137. +10 −12 tests/test_scopes.py
  138. +1 −1 tests/test_settings.py
  139. +161 −0 tests/test_token_endpoint_cors.py
  140. +19 −20 tests/test_token_revocation.py
  141. +8 −10 tests/test_token_view.py
  142. +57 −0 tests/test_ui_locales.py
  143. +27 −0 tests/test_utils.py
  144. +158 −24 tests/test_validators.py
  145. +3 −1 tests/urls.py
  146. +32 −67 tox.ini
73 changes: 73 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
venv
__pycache__
.tox
.github
.vscode
.django_oauth_toolkit.egg-info
.coverage
coverage.xml

# every time we change this we need to do the COPY . /code and
# RUN pip install -r requirements.txt again
# so don't include the Dockerfile in the context.
Dockerfile
docker-compose.yml


# from .gitignore
*.py[cod]

*.swp

# C extensions
*.so

# Packages
*.egg
*.egg-info
dist
build
eggs
parts
bin
var
sdist
develop-eggs
.installed.cfg
lib
lib64
__pycache__

# Installer logs
pip-log.txt

# Unit test / coverage reports
.cache
.pytest_cache
.coverage
.tox
.pytest_cache/
nosetests.xml

# Translations
*.mo

# Mr Developer
.mr.developer.cfg
.project
.pydevproject

# PyCharm stuff
.idea

# Sphinx build dir
_build

# Sqlite database files
*.sqlite

/venv/
/coverage.xml

db.sqlite3
venv/
2 changes: 2 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# required for vscode testing activity to discover tests
DJANGO_SETTINGS_MODULE=tests.settings
12 changes: 5 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -11,24 +11,22 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: '3.12'

- name: Install dependencies
run: |
python -m pip install -U pip
python -m pip install -U setuptools twine wheel
python -m pip install -U pip build twine
- name: Build package
run: |
python setup.py --version
python setup.py sdist --format=gztar bdist_wheel
python -m build
twine check dist/*
- name: Upload packages to Jazzband
79 changes: 51 additions & 28 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -3,42 +3,33 @@ name: Test
on: [push, pull_request]

jobs:
build:
name: build (Python ${{ matrix.python-version }}, Django ${{ matrix.django-version }})
test-package:
name: Test Package (Python ${{ matrix.python-version }}, Django ${{ matrix.django-version }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
django-version: ['2.2', '3.2', '4.0', '4.1', '4.2', 'main']
exclude:
python-version:
- '3.10'
- '3.11'
- '3.12'
django-version:
- '4.2'
- '5.0'
- '5.1'
- 'main'
include:
# https://docs.djangoproject.com/en/dev/faq/install/#what-python-version-can-i-use-with-django

# Python 3.10+ is not supported by Django 2.2
- python-version: '3.10'
django-version: '2.2'

# Python 3.7 is not supported by Django 4.0+
- python-version: '3.7'
django-version: '4.0'
- python-version: '3.7'
django-version: '4.1'
- python-version: '3.7'
django-version: '4.2'
- python-version: '3.7'
django-version: 'main'

# < Python 3.10 is not supported by Django 5.0+
- python-version: '3.8'
django-version: 'main'
django-version: '4.2'
- python-version: '3.9'
django-version: 'main'
django-version: '4.2'

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

@@ -49,11 +40,11 @@ jobs:
echo "::set-output name=dir::$(pip cache dir)"
- name: Cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.pip-cache.outputs.dir }}
key:
${{ matrix.python-version }}-v1-${{ hashFiles('**/setup.py') }}-${{ hashFiles('**/tox.ini') }}
${{ matrix.python-version }}-v1-${{ hashFiles('**/pyproject.toml') }}-${{ hashFiles('**/tox.ini') }}
restore-keys: |
${{ matrix.python-version }}-v1-
@@ -73,8 +64,40 @@ jobs:
with:
name: Python ${{ matrix.python-version }}

test-demo-rp:
name: Test Demo Relying Party
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version:
- "18.x"
- "20.x"
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up NodeJS
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Install dependencies
run: npm install
working-directory: tests/app/rp

- name: Run Lint
run: npm run lint
working-directory: tests/app/rp

- name: Run build
run: npm run build
working-directory: tests/app/rp

success:
needs: build
needs:
- test-package
- test-demo-rp
runs-on: ubuntu-latest
name: Test successful
steps:
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -30,6 +30,7 @@ pip-log.txt
.coverage
.tox
.pytest_cache/
.ruff_cache/
nosetests.xml

# Translations
@@ -51,3 +52,8 @@ _build

/venv/
/coverage.xml

db.sqlite3
venv/

/tests/app/idp/static
31 changes: 15 additions & 16 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
repos:
- repo: https://github.com/psf/black
rev: 23.3.0
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.6
hooks:
- id: black
exclude: ^(oauth2_provider/migrations/|tests/migrations/)
- id: ruff
args: [ --fix ]
- id: ruff-format
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v5.0.0
hooks:
- id: check-ast
- id: trailing-whitespace
@@ -15,17 +16,15 @@ repos:
- id: check-yaml
- id: mixed-line-ending
args: ['--fix=lf']
- repo: https://github.com/PyCQA/isort
rev: 5.12.0
hooks:
- id: isort
exclude: ^(oauth2_provider/migrations/|tests/migrations/)
- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
hooks:
- id: flake8
exclude: ^(oauth2_provider/migrations/|tests/migrations/)
- repo: https://github.com/sphinx-contrib/sphinx-lint
rev: v0.6.7
rev: v1.0.0
hooks:
- id: sphinx-lint
# Configuration for codespell is in pyproject.toml
- repo: https://github.com/codespell-project/codespell
rev: v2.3.0
hooks:
- id: codespell
exclude: (package-lock.json|/locale/)
additional_dependencies:
- tomli
8 changes: 8 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"python.testing.pytestArgs": [
"tests",
"--no-cov"
],
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true
}
29 changes: 29 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -9,26 +9,33 @@ Contributors

Abhishek Patel
Adam Johnson
Adam Zahradník
Adheeth P Praveen
Alan Crosswell
Alan Rominger
Alejandro Mantecon Guillen
Aleksander Vaskevich
Alessandro De Angelis
Alex Manning
Alex Szabó
Aliaksei Kanstantsinau
Allisson Azevedo
Andrea Greco
Andrej Zbín
Andrew Chen Wang
Andrew Zickler
Antoine Laurent
Anvesh Agarwal
Aristóbulo Meneses
Aryan Iyappan
Asaf Klibansky
Ash Christopher
Asif Saif Uddin
Bart Merenda
Bas van Oostveen
Brian Helba
Carl Schwan
Daniel Golding
Daniel 'Vector' Kerr
Darrel O'Pry
Dave Burkholder
@@ -44,17 +51,25 @@ Dylan Tack
Eduardo Oliveira
Egor Poderiagin
Emanuele Palazzetti
Fazeel Ghafoor
Federico Dolce
Florian Demmer
Frederico Vieira
Gaël Utard
Glauco Junior
Giovanni Giampauli
Hasan Ramezani
Hiroki Kiyohara
Hossein Shakiba
Islam Kamel
Ivan Lukyanets
Jaap Roes
Jadiel Teófilo
Jens Timmerman
Jerome Leclanche
Jesse Gibbs
Jim Graham
John Byrne
Jonas Nygaard Pedersen
Jonathan Steffan
Jordi Sanchez
@@ -66,8 +81,12 @@ Julien Palard
Jun Zhou
Kaleb Porter
Kristian Rune Larsen
Lazaros Toumanidis
Ludwig Hähne
Łukasz Skarżyński
Madison Swain-Bowden
Marcus Sonestedt
Matej Spiller Muys
Matias Seniquiel
Michael Howitz
Owen Gong
@@ -77,15 +96,20 @@ Paul Oswald
Pavel Tvrdík
Peter Carnesciali
Peter Karman
Peter McDonald
Petr Dlouhý
pySilver
Rodney Richardson
Rustem Saiargaliev
Rustem Saiargaliev
Sandro Rodrigues
Sean 'Shaleh' Perry
Shaheed Haque
Shaun Stanworth
Sayyid Hamid Mahdavi
Silvano Cerza
Sora Yanai
Sören Wegener
Spencer Carroll
Stéphane Raimbault
Tom Evans
@@ -94,3 +118,8 @@ Víðir Valberg Guðmundsson
Will Beaufoy
pySilver
Łukasz Skarżyński
Wouter Klein Heerenbrink
Yaroslav Halchenko
Yuri Savin
Miriam Forner
Alex Kerkum
Loading