Skip to content

Commit 1b0a2de

Browse files
authored
Merge branch 'master' into add-self-service-profiles-api
2 parents 9c3e60c + a455156 commit 1b0a2de

25 files changed

+969
-481
lines changed

.github/actions/rl-scanner/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ runs:
3131
- name: Install RL Wrapper
3232
shell: bash
3333
run: |
34-
pip install rl-wrapper>=1.0.0 --index-url "https://${{ env.PRODSEC_TOOLS_USER }}:${{ env.PRODSEC_TOOLS_TOKEN }}@a0us.jfrog.io/artifactory/api/pypi/python-local/simple"
34+
pip install rl-wrapper>=1.0.6 --index-url "https://${{ env.PRODSEC_TOOLS_USER }}:${{ env.PRODSEC_TOOLS_TOKEN }}@a0us.jfrog.io/artifactory/api/pypi/python-local/simple"
3535
3636
- name: Run RL Scanner
3737
shell: bash

.github/workflows/docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
uses: actions/checkout@v4
2323

2424
- name: Setup Pages
25-
uses: actions/configure-pages@v4
25+
uses: actions/configure-pages@v5
2626

2727
- name: Configure Python
2828
uses: actions/setup-python@v5
@@ -42,7 +42,7 @@ jobs:
4242
sphinx-build ./docs/source ./docs/build --keep-going -n -a -b html
4343
4444
- name: Upload artifact
45-
uses: actions/upload-pages-artifact@v2
45+
uses: actions/upload-pages-artifact@v3
4646
with:
4747
path: "./docs/build"
4848

@@ -56,4 +56,4 @@ jobs:
5656
steps:
5757
- id: deployment
5858
name: Deploy to GitHub Pages
59-
uses: actions/deploy-pages@v3
59+
uses: actions/deploy-pages@v4

.github/workflows/publish.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@ permissions:
1212

1313
jobs:
1414
rl-scanner:
15-
uses: ./.github/workflows/rl-scanner.yml
16-
with:
17-
node-version: 18
18-
artifact-name: "auth0-python.tgz"
19-
secrets:
20-
RLSECURE_LICENSE: ${{ secrets.RLSECURE_LICENSE }}
21-
RLSECURE_SITE_KEY: ${{ secrets.RLSECURE_SITE_KEY }}
22-
SIGNAL_HANDLER_TOKEN: ${{ secrets.SIGNAL_HANDLER_TOKEN }}
23-
PRODSEC_TOOLS_USER: ${{ secrets.PRODSEC_TOOLS_USER }}
24-
PRODSEC_TOOLS_TOKEN: ${{ secrets.PRODSEC_TOOLS_TOKEN }}
25-
PRODSEC_TOOLS_ARN: ${{ secrets.PRODSEC_TOOLS_ARN }}
15+
uses: ./.github/workflows/rl-scanner.yml
16+
with:
17+
python-version: "3.10"
18+
artifact-name: "auth0-python.tgz"
19+
secrets:
20+
RLSECURE_LICENSE: ${{ secrets.RLSECURE_LICENSE }}
21+
RLSECURE_SITE_KEY: ${{ secrets.RLSECURE_SITE_KEY }}
22+
SIGNAL_HANDLER_TOKEN: ${{ secrets.SIGNAL_HANDLER_TOKEN }}
23+
PRODSEC_TOOLS_USER: ${{ secrets.PRODSEC_TOOLS_USER }}
24+
PRODSEC_TOOLS_TOKEN: ${{ secrets.PRODSEC_TOOLS_TOKEN }}
25+
PRODSEC_TOOLS_ARN: ${{ secrets.PRODSEC_TOOLS_ARN }}
2626
publish-pypi:
2727
if: github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.event.pull_request.merged && startsWith(github.event.pull_request.head.ref, 'release/'))
2828
name: "PyPI"

.github/workflows/rl-scanner.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
name: RL-Secure Workflow
2-
name: RL-Secure Workflow
32

43
on:
54
workflow_call:
@@ -25,13 +24,12 @@ on:
2524
required: true
2625

2726
jobs:
28-
checkout-build-scan-only:
27+
rl-scanner:
28+
if: github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.event.pull_request.merged && startsWith(github.event.pull_request.head.ref, 'release/'))
2929
runs-on: ubuntu-latest
30-
31-
permissions:
32-
pull-requests: write
33-
id-token: write
34-
30+
outputs:
31+
scan-status: ${{ steps.rl-scan-conclusion.outcome }}
32+
3533
steps:
3634
- uses: actions/checkout@v4
3735
with:
@@ -65,7 +63,7 @@ jobs:
6563
6664
- name: Get Artifact Version
6765
id: get_version
68-
run: echo "version=$(cat .version)" >> $GITHUB_ENV
66+
uses: ./.github/actions/get-version
6967

7068
- name: Run RL Scanner
7169
id: rl-scan-conclusion

.github/workflows/snyk.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
with:
3535
ref: ${{ github.event.pull_request.head.sha || github.ref }}
3636

37-
- uses: snyk/actions/python-3.8@4a528b5c534bb771b6e3772656a8e0e9dc902f8b # pinned 2023-06-13
37+
- uses: snyk/actions/python-3.8@cdb760004ba9ea4d525f2e043745dfe85bb9077e # pinned 2023-06-13
3838
continue-on-error: true # Make sure the SARIF upload is called
3939
env:
4040
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}

.github/workflows/test.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
pipx install poetry
6262
poetry config virtualenvs.in-project true
6363
poetry install --with dev
64-
poetry self add "poetry-dynamic-versioning[plugin]==1.1.1"
64+
poetry self add "poetry-dynamic-versioning[plugin]"
6565
6666
- name: Run tests
6767
run: |
@@ -80,4 +80,6 @@ jobs:
8080

8181
- if: ${{ matrix.python-version == '3.10' }}
8282
name: Upload coverage
83-
uses: codecov/codecov-action@4fe8c5f003fae66aa5ebb77cfd3e7bfbbda0b6b0 # pin@3.1.5
83+
uses: codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3 # pin@5.3.1
84+
with:
85+
token: ${{ secrets.CODECOV_TOKEN }}

.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.7.2
1+
4.8.1

CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,28 @@
11
# Change Log
22

3+
## [4.8.1](https://github.com/auth0/auth0-python/tree/4.8.1) (2025-02-24)
4+
[Full Changelog](https://github.com/auth0/auth0-python/compare/4.8.0...4.8.1)
5+
6+
**Fixed**
7+
- Fix: Unauthorized Access Error For PAR [\#671](https://github.com/auth0/auth0-python/pull/671) ([kishore7snehil](https://github.com/kishore7snehil))
8+
9+
## [4.8.0](https://github.com/auth0/auth0-python/tree/4.8.0) (2025-01-29)
10+
[Full Changelog](https://github.com/auth0/auth0-python/compare/4.7.2...4.8.0)
11+
12+
**Added**
13+
- Adding Support For RAR and JAR Requests [\#659](https://github.com/auth0/auth0-python/pull/659) ([kishore7snehil](https://github.com/kishore7snehil))
14+
- Adding Support For Back Channel Login [\#643](https://github.com/auth0/auth0-python/pull/643) ([kishore7snehil](https://github.com/kishore7snehil))
15+
16+
**Fixed**
17+
- Consolidated Community PRs and Dependency Upgrades [\#660](https://github.com/auth0/auth0-python/pull/660) ([kishore7snehil](https://github.com/kishore7snehil))
18+
- [fix typo in docstring](https://github.com/auth0/auth0-python/pull/637) ([@CarlosEduR ](https://github.com/CarlosEduR))
19+
- [Added support for "include_totals" to all_organization_member_roles](https://github.com/auth0/auth0-python/pull/635) ([@jpayton-cx](https://github.com/jpayton-cx))
20+
- [Fixed Version Table](https://github.com/auth0/auth0-python/pull/633) ([@sanchez](https://github.com/sanchez))
21+
- [Remove upper bounds on all python dependency versions](https://github.com/auth0/auth0-python/pull/628) ([@ngfeldman](https://github.com/ngfeldman))
22+
- [Adding secrets to Codecov Action Upload](https://github.com/auth0/auth0-python/pull/624) ([@developerkunal](https://github.com/developerkunal))
23+
- Updating Dependancies And Workflow Action Versions [\#653](https://github.com/auth0/auth0-python/pull/653) ([kishore7snehil](https://github.com/kishore7snehil))
24+
- Fixing the Github Workflow Issues [\#644](https://github.com/auth0/auth0-python/pull/644) ([kishore7snehil](https://github.com/kishore7snehil))
25+
326
## [4.7.2](https://github.com/auth0/auth0-python/tree/4.7.2) (2024-09-10)
427
[Full Changelog](https://github.com/auth0/auth0-python/compare/4.7.1...4.7.2)
528

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,9 @@ For more code samples on how to integrate the auth0-python SDK in your Python ap
8888
- Delegated ( `authentication.Delegated` )
8989
- Enterprise ( `authentication.Enterprise` )
9090
- API Authorization - Get Token ( `authentication.GetToken`)
91+
- BackChannelLogin ( `authentication.BackChannelLogin`)
9192
- Passwordless ( `authentication.Passwordless` )
93+
- PushedAuthorizationRequests ( `authentication.PushedAuthorizationRequests` )
9294
- RevokeToken ( `authentication.RevokeToken` )
9395
- Social ( `authentication.Social` )
9496
- Users ( `authentication.Users` )
@@ -146,7 +148,7 @@ The following is a list of unsupported Python versions, and the last SDK version
146148

147149
| Python Version | Last SDK Version Supporting |
148150
|----------------|-----------------------------|
149-
| <= 3.7 | 4.6.1 |
151+
| >= 3.7 | 4.6.1 |
150152
| >= 2.0, <= 3.6 | 3.x |
151153

152154
You can determine what version of Python you have installed by running:

auth0/authentication/async_token_verifier.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ async def verify(
176176
token (str): The JWT to verify.
177177
nonce (str, optional): The nonce value sent during authentication.
178178
max_age (int, optional): The max_age value sent during authentication.
179-
organization (str, optional): The expected organization ID (org_id) or orgnization name (org_name) claim value. This should be specified
179+
organization (str, optional): The expected organization ID (org_id) or organization name (org_name) claim value. This should be specified
180180
when logging in to an organization.
181181
182182
Returns:

0 commit comments

Comments
 (0)